File Compare
Template:Short description
Script error: No such module "about".
Script error: No such module "Infobox".Template:Template otherScript error: No such module "Check for unknown parameters".Template:Main other
In computing, fc (File Compare) is a command-line program in DOS, IBM OS/2 and Microsoft Windows operating systems, that compares multiple files and outputs the differences between them.[1][2] It is similar to the Unix commands comm, cmp and diff.
History
The fc command has been included in Microsoft operating systems since MS-DOS 2.11 (e.g. on the 1984/85 DEC Rainbow release)[3] and is included in all versions of Microsoft Windows.[4] fc has also been included in IBM OS/2 Version 2.0.[5]
DR DOS 6.0 includes an implementation of the fc command.[6]
The command is also available in FreeDOS. This implementation is licensed under the GPLv2+.[7]
Functionality
fc can compare text files as well as binary files.[8] The latest versionsTemplate:Which can compare ASCII or Unicode text. The result of comparisons are output to the standard output. The output of fc is intended primarily to be human readable and may be difficult to use in other programs.
See also
References
Further reading
- Script error: No such module "citation/CS1".
- Script error: No such module "citation/CS1".
External links
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Rainbow MS-DOS Version 2.11 Documentation : Digital Equipment Corporation October 1984
- ↑ MS-DOS and Windows command line fc command
- ↑ OS/2 2.0 Redbooks Volume 2 - DOS and Windows Environment (GG24-3731)
- ↑ DR DOS 6.0 User Guide Optimisation and Configuration Tips
- ↑ Script error: No such module "citation/CS1".
- ↑ FC - file compare - Windows CMD - SS64.com