H
Highlander
I'm running a command in a batch file that prompts for a 'Y' or 'N' and
then a press of the Enter key. I'm able to run the command unattended
by redirecting a text file (yEnt.txt) into it, feeding it the 'Y' and
an 'Enter'.
command<yEnt.txt
Works great. The problem is, I like to redirect the output of commands
into a text file for posterity. And I can't figure out how to do that
here, since there's already one redirection present. Any ideas? Thanks.
then a press of the Enter key. I'm able to run the command unattended
by redirecting a text file (yEnt.txt) into it, feeding it the 'Y' and
an 'Enter'.
command<yEnt.txt
Works great. The problem is, I like to redirect the output of commands
into a text file for posterity. And I can't figure out how to do that
here, since there's already one redirection present. Any ideas? Thanks.