<p>I am using oracle wallet to store the oracle database passwords,
the batch file to create the wallet asks for password when you run it.
is there any way to modify the batch file , and provide the password before hand </p>

<p>so that i can avoid inputtting the password every time i run that.</p>

<p>so to generalize the problem, is there any way i can write to input stream of another program.</p>

<p>so that i can avoid prompts from my automation scripts.</p>

You can use the pipe operator "|" to redirect the standard output stream of one program into the input stream of another.  I works both on unix and windows platforms.
In your example you would have a script doing just
```
```
echo mypassword
```
```
and you would run this from the command line:
```
```
myscript | wallet
```
```
I assume that your script would be called myscript.bat, and the wallet program wallet.exe, change these accordingly.