mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
39 lines
852 B
Plaintext
39 lines
852 B
Plaintext
---
|
||
syntax: markdown
|
||
tags: [tldr, windows]
|
||
source: https://github.com/tldr-pages/tldr.git
|
||
---
|
||
# fc
|
||
|
||
> Compare the differences between two files or sets of files.
|
||
> Use wildcards (*) to compare sets of files.
|
||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/fc>.
|
||
|
||
- Compare 2 specified files:
|
||
|
||
`fc {{path oile1}} {{path oile2}}`
|
||
|
||
- Perform a case-insensitive comparison:
|
||
|
||
`fc /c {{path oile1}} {{path oile2}}`
|
||
|
||
- Compare files as Unicode text:
|
||
|
||
`fc /u {{path oile1}} {{path oile2}}`
|
||
|
||
- Compare files as ASCII text:
|
||
|
||
`fc /l {{path oile1}} {{path oile2}}`
|
||
|
||
- Compare files as binary:
|
||
|
||
`fc /b {{path oile1}} {{path oile2}}`
|
||
|
||
- Disable tab-to-space expansion:
|
||
|
||
`fc /t {{path oile1}} {{path oile2}}`
|
||
|
||
- Compress whitespace (tabs and spaces) for comparisons:
|
||
|
||
`fc /w {{path oile1}} {{path oile2}}`
|