(
COMPare) An external DOS/Windows command that compares two files of the same size for identical content and reports up to 10 mismatches. The default command displays the mismatched characters and their location in hexadecimal. Adding the
/l (line) and
/a (ASCII) parameters as in the example below shows the line number of the location and the characters in ASCII text. An alternate compare command is FC (see
Fc). See
file compare.
comp red.txt green.txt /l /a