FC (File Compare)
FC compares two files and displays their differences. The format of the
FC command to compare ASCII (text) files is:
FC [/A][/C][/L][/LBn][/N][/T][/W][/n] <file1> <file2>
FC /B [drive1:][path1] <file1> <file2>
where:
A
Displays only first and last lines
for each set of differences
/B
Performs a binary comparison
/C
Disregards the case of letters
/L
Compares files as ASCII text
/LBn
Sets the maximum consecutive mismatches
to "n" lines
/N
Displays the line numbers on an ASCII
comparison
/T
Does not expand tabs to spaces
/W
Compresses white space (tabs and
spaces) for comparison
/n
Specifies the number of consecutive
lines that must match after a mismatch
Unlike the COMP command, FC attempts to resynchronize after a mismatch.
It recognizes inserted or deleted character sequences, then resumes the
comparison.
[Back: MEM]
[Next: DOSKEY]