• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Comparing Files

MS-DOS 6.22 contains a program called FC that allows you to compare files to verify their integrity. For example, if you have your entire company's budget in a file and you wanted to make a copy of it to store offsite, using the FC command to verify that the copied file is exactly the same would provide an additional verification that it is a valid copy. The following sections will describe how to use the FC command effectively.

Comparing Files with FC

The external command FC (meaning file comparison) compares two files or two sets of files to find differences in the files. Any differences are reported onscreen. When a copied file is extremely important, you can use FC to compare the file with the original. If differences are found, you know that a problem might exist with the copy. Normally, DOS detects data integrity errors while reading and writing files, but if you want to be sure that two files are the same, you can ease your mind by using FC.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint