Skip to main content

Compare the differences between two files or sets of files. Use wildcards (*) to compare sets of files.

:: To compare 2 specified files:
fc <path/to/file_1> <path/to/file_2>

:: To perform a case-insensitive comparison:
fc /c <path/to/file_1> <path/to/file_2>

:: To compare files as Unicode text:
fc /u <path/to/file_1> <path/to/file_2>

:: To compare files as ASCII text:
fc /l <path/to/file_1> <path/to/file_2>

:: To compare files as binary:
fc /b <path/to/file_1> <path/to/file_2>

:: To disable tab-to-space expansion:
fc /t <path/to/file_1> <path/to/file_2>

:: To compress whitespace (tabs and spaces) for comparisons:
fc /w <path/to/file_1> <path/to/file_2>