I am using FC filename1 filename2 >> myLog.txt
(where myLog.txt exists) command under Windows to compare two files. I use the command in a loop so I could compare many pairs of files.
I want to ignore the output when FC
outputs:
Comparing files filename and filename2
FC: no differences encountered
Because it floods the output file with unwanted information.
How can I do this? And if possible, can I count the number of "successfull"(the one which output I ignore) compares?
I tried with FC filename1 filename2 2> myLog.txt
to redirect only the error stream, but it doesn't output anything, meaning the command only outputs to the standard stream.