fc
Windows CMD · Text · available in the simulator
What it does
Compares files in text or binary mode.
Syntax
fc [opciones] archivo1 archivo2
Options and parameters
/cignores case
/ndisplays line numbers
/bbinary comparison
/wignores whitespace
/ADisplays only the first and last lines for each set of differences in ASCII comparisons.
/BPerforms a binary comparison.
fc /b a.bin b.bin/CDisregards the case of letters.
/LCompares files as ASCII text.
/NDisplays line numbers on an ASCII comparison.
fc /n a.txt b.txt/TDoes not expand tabs to spaces.
/UCompares files as Unicode text.
/WCompresses white space and tabs for comparison.
/LBMaximum number of consecutive different lines before canceling.
Usage examples
fc f1 f2fc f1 f2 /cfc f1 f3 /nfc f1 f2 /bfc archivo1.txt archivo2.txtfc /n a.txt b.txtfc /b a.bin b.bin