File Compare

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
fc
Original authorMani A. Ulloa[1]
DevelopersMicrosoft, IBM, Digital Research, Novell
Initial release1984, 41–42 years ago
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Written inMS-DOS: x86 assembly language
FreeDOS: C
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemMS-DOS, PC DOS, OS/2, eComStation, ArcaOS, Windows, DR DOS, FreeDOS
    PlatformCross-platform
    TypeCommand
    LicenseMS-DOS: MIT
    FreeDOS: GPLv2+
    Websitedocs.microsoft.com/en-us/windows-server/administration/windows-commands/fc

    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

    [edit | edit source]

    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

    [edit | edit source]

    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

    [edit | edit source]

    References

    [edit | edit source]
    1. ^ OS/2 Museum
    2. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    3. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    4. ^ Rainbow MS-DOS Version 2.11 Documentation : Digital Equipment Corporation October 1984
    5. ^ MS-DOS and Windows command line fc command
    6. ^ OS/2 2.0 Redbooks Volume 2 - DOS and Windows Environment (GG24-3731)
    7. ^ DR DOS 6.0 User Guide Optimisation and Configuration Tips
    8. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    9. ^ FC - file compare - Windows CMD - SS64.com

    Further reading

    [edit | edit source]
    • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    • Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]