I am comparing files from one directory to another using a batch file and i use the following code:
COMP C:\test\dira C:\test\dirb /L | find "different"
IF ERRORLEVEL 1 ECHO Files are identical
IF NOT ERRORLEVEL 1 GOTO COPYDIR
When i run the command it prompts the user if they would like to compare more files. I want the batch file to run withought prompting the user if they would like to compare anymore files.. if you like... force the command to use N (No)