This utility uses the following syntax:
COMP [data1] [data2] [/D] [/A] [/L] [/N=number] [/C] [/OFF[LINE]]
The following list describes each of the command line arguments.
data1
Specifies the source file. You can use wildcard characters to define multiple comparisons.
For example,
*.DLL
compares every dynamic link library in the source directory against a
DLL with the same name in the destination directory.
data2
Specifies the destination file. You can use wildcard characters to define multiple comparisons.
However, the source and destination specifications must compare. If the source contains
just one file, then the destination will also contain one file as well.
/D
Displays the differences in decimal format (as numeric values for each character, whether
or not there??™s an ASCII equivalent). This is the optimal setting when comparing binary or executable
files.
/A
Displays the differences as ASCII characters. This is the optimal setting when comparing
text files of any type (including INI or other settings files and standard data files in XML or other
format).
/L
Displays the line numbers for differences. The Comp utility compares the two files line by
line, where the carriage return (ASCII character 13), linefeed (ASCII character 10), or both designate
the end of a line.
Pages:
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842