Answer» I would like to run the COMP command from a batch SCRIPT: COMP %FILE1% %FILE2% The command issues a question on completion: Compare more files (Y/N) ? How do I enter "N" and return at the cmd line WITHIN the script to exit from the COMP command and return to the batch script? Any help greatly appreciated. Thanks.After the files are compared it should ask you if you WANT to compare more files on the command line. You should just have to PRESS "N". Why would you have to press "N" inside the batch file? After the batch file executes the COMP command it is going to automaticly go to the next line in the batch file.Just pipe N into the command:
echo N | COMP %FILE1% %FILE2%
|