I am trying to help a guy at work write a basic batch file.
I want to be able to have the batch start an executable and then pass that running executable a series of inputs (that will be predefined in the batch file).
An example would be something like this...
run example.batch
example.batch would start example.exe
(running example.exe)
please enter your name: <NAME GOES HERE BEING PASSED FROM BATCH FILE>
please enter your age: <AGE GOES HERE BEING PASSED FROM BATCH FILE>
the inputs will actually be long directory listings and stuff, but you should get the idea.
Thanks.
I want to be able to have the batch start an executable and then pass that running executable a series of inputs (that will be predefined in the batch file).
An example would be something like this...
run example.batch
example.batch would start example.exe
(running example.exe)
please enter your name: <NAME GOES HERE BEING PASSED FROM BATCH FILE>
please enter your age: <AGE GOES HERE BEING PASSED FROM BATCH FILE>
the inputs will actually be long directory listings and stuff, but you should get the idea.
Thanks.