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 /B /C /L /LBn /N /T /W /n

    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]