1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/windows/fc.md
Emily Grace Seville c52cc074d9
windows/*.md: make placeholders more compatible with CLIP ones (#9872)
* Make placeholders more compatible with CLIP ones

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

* Update pages/windows/doskey.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
2023-02-20 15:23:49 +08:00

33 lines
786 B
Markdown

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