2.7.23. COMPΒΆ

Help of the DOS Command COMP

Compares the contents of two files or sets of files.:

COMP [data1] [data2] [/D] [/A] [/L] [/N=number] [/C] [/OFF[LINE]]

Specifies location and name(s) of first file(s) to compare.


Specifies location and name(s) of second files to compare.


Displays differences in decimal format.


Displays differences in ASCII characters.


Displays line numbers for differences.


Compares only the first specified number of lines in each file.


Disregards case of ASCII letters when comparing files.


Do not skip files with offline attribute set.

To compare sets of files, use wildcards in data1 and data2 parameters.


Above text is generated from DOS/Windows command help and re-formmatted for PDF/HTML View.