You can put the inputs you need into a separate text file, then use that as input by using the < syntax
For example, if you need to press Enter key:
- open Notepad with a new text file
- press the Enter key
- save the new file (say call it enter.txt) in the same folder as your bat file
-use the file as input like this from the command-line:
yourbatfile < enter.txt
hth
Phil
|