File_Compare

File Compare

File Compare

Command-line program that compares multiple files


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.[2][3] 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)[4] and is included in all versions of Microsoft Windows.[5] fc has also been included in IBM OS/2 Version 2.0.[6]

DR DOS 6.0 includes an implementation of the fc command.[7]

The command is also available in FreeDOS. This implementation is licensed under the GPLv2+.[8]

Functionality

fc can compare text files as well as binary files.[9] The latest versions[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

  1. "fc Microsoft Docs". Microsoft.com. Retrieved 2019-06-20.
  2. "Fasthelp". Technet.microsoft.com. 20 February 2014. Retrieved 2016-06-15.
  3. Rainbow MS-DOS Version 2.11 Documentation : Digital Equipment Corporation October 1984
  4. "FreeDOS 1.2 Updates Package - fc (FreeDOS Base)". Ibiblio.org. 2005-01-10. Retrieved 2022-09-04.

Further reading


Share this article:

This article uses material from the Wikipedia article File_Compare, and is written by contributors. Text is available under a CC BY-SA 4.0 International License; additional terms may apply. Images, videos and audio are available under their respective licenses.