From 548465e275e23963112fd53b78b962292faf7935 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Mon, 28 Jan 2019 18:38:53 +0000 Subject: [PATCH] fc: add page (#2655) --- pages/windows/fc.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/windows/fc.md diff --git a/pages/windows/fc.md b/pages/windows/fc.md new file mode 100644 index 000000000..2051eed50 --- /dev/null +++ b/pages/windows/fc.md @@ -0,0 +1,32 @@ +# fc + +> Compare the differences between two files or sets of files. +> Use wildcards (*) to compare sets of files. + +- Compare 2 specified files: + +`fc {{path/to/file_1}} {{path/to/file_2}}` + +- Perform a case-insensitive comparison: + +`fc /c {{path/to/file_1}} {{path/to/file_2}}` + +- Compare files as Unicode text: + +`fc /u {{path/to/file_1}} {{path/to/file_2}}` + +- Compare files as ASCII text: + +`fc /l {{path/to/file_1}} {{path/to/file_2}}` + +- Compare files as binary: + +`fc /b {{path/to/file_1}} {{path/to/file_2}}` + +- Disable tab-to-space expansion: + +`fc /t {{path/to/file_1}} {{path/to/file_2}}` + +- Compress whitespace (tabs and spaces) for comparisons: + +`fc /w {{path/to/file_1}} {{path/to/file_2}}`