Hi Bonhomme,
This is going to try my memory, so forgive mistakes please.
In the same way output can be redirected from a DOS program, input can be re-directed as well.
So idea follows.
Write .bat file that runs your DOS app.
On next line of bat file, include answers DOS program needs (end with CR).
Use the other Ben's idea to get the results you need.
A pretend example follows.
Dos_Prog_name>results.txt
answer_1
answer_2
exit
If the answers are dynamic, you will have to create this .bat file on the fly.
Ben
P.S. At this point, you may want to let us know what the DOS command syntax looks like, and where things get complicated. We may be able to be of more help.