I'm running a dos exe file which requires 3 inputs, but does not have any command line switches to allow me run the command from single line.
This is what happens currently:
....running.....enter version 1, 2 or 3: 3
....running.....enter input file path: c:\test1
....running.....enter output file path: c:\test1R
COMPLETE! Press enter to continue..
(where I need to enter "decode.exe
" and "c:\test1R
" as seperate inputs)
Ideally, I would like to use something like:
c:\>decode.exe 3 c:\test1 c:\test1R
But this will ignore the additional fields and wait for the version.
I have tried pasting from notepad into the command window. This works, but the buffer will only allow about 5 lines and I need to run about 500!
I have also tried using batch file to run one line after another, but the session hangs waiting for the response to the version question.
Any help would be appreciated.