Performs a comparison of two files or two sets of files on a byte-by-byte basis.
comp [data1] [data2] [/d] [/a] [/l] [/n=number] [/c]
| Parameters | |
|---|---|
| | |
| Parameter | Purpose |
| | |
| [data1] | Sets the path and file name of the first file or set of files. |
| [data2] | Sets the path and file name of the second file or set of files. |
| [/d] | Displays any differences using a decimal format. |
| [/a] | Displays any differences in character format. |
| [/l] | Displays line numbers where differences occur. |
| [/n=number] | Compares the specified number of lines in both files. |
| [/c] | Performs a case-insensitive comparison. |