I have program, that must interact with a DOS program before my program can continue what it is doing. I\'m trying to avoid my user from having to interact with this dos pro
You can pipe in a 'y' character into the program like so:
echo y | executable.exe
Multiple lines can be entered like so:
(echo y echo n) | executable.exe
...which will pass first 'y' then 'n'.
See tip from Microsoft here.