Files
cheatsheet-tldr/tldr/windows/fc

39 lines
852 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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 o ile1}} {{path o ile2}}`
- Perform a case-insensitive comparison:
`fc /c {{path o ile1}} {{path o ile2}}`
- Compare files as Unicode text:
`fc /u {{path o ile1}} {{path o ile2}}`
- Compare files as ASCII text:
`fc /l {{path o ile1}} {{path o ile2}}`
- Compare files as binary:
`fc /b {{path o ile1}} {{path o ile2}}`
- Disable tab-to-space expansion:
`fc /t {{path o ile1}} {{path o ile2}}`
- Compress whitespace (tabs and spaces) for comparisons:
`fc /w {{path o ile1}} {{path o ile2}}`