Microsoft Windows XP Professional Administrators Guide
Compares two files and reports on their differences.
Syntax
fc [/a] [/b] [/c] [/l] [/lbn] [/n] [/t] [/u] [/w] [/nnnn] [drive1:][path1]filename1 [drive2:][path2]filename2
| Parameters | |
|---|---|
| | |
| Parameter | Purpose |
| | |
| [/a] | Displays the first and last lines for each set of differences. |
| [/b] | Performs a comparison of the files in binary mode. |
| [/c] | Ignores differences in case. |
| [/l] | Performs a comparison of the files in ASCII mode. |
| [/lbn] | Specifies the number of lines used by the internal line buffer. This value must be greater than or equal to the number of differing lines in the files being compared. |
| [/n] | Displays the line numbers. |
| [/t] | Prevents the expansion of tabs into spaces. |
| [/u] | Performs a comparison of the files as Unicode text files. |
| [/w] | Compresses white space during the comparison. |
| [/nnnn] | Sets the number of consecutive lines that must be matched before the two files are identified as resynchronized. |
| [drive1:][path1]filename1 | Sets the drive, path, and file name of the first file. |
| [drive2:][path2]filename2 | Sets the drive, path, and file name of the second file. |