I have a console program (DOS program) that requires interactive input. After entering on the command line, for example
commandline.exe /ShowReport
The DOS prompt will prompt you to enter some values, and then move on to the next interactive input.
For example, when I entered the above command, the console will offer me the following options:
press '1' to show Report A press '2' to Show Report B
And I would press '1' if I want to show report A.
Now I want to automate all these things by pre-setting all the input values ββin the script files. Maybe something like this (I don't know)
commandline.exe /ShowReport <1<'abc'
I want to write a script package for this. Are there any tools that let me do this?
source share