Microsoft KB Archive/51078

From BetaArchive Wiki
Knowledge Base


FILECOMPARE Does Not Count Blank Lines

Article ID: 51078

Article Last Modified on 11/16/2006



APPLIES TO

  • Microsoft MS-DOS 4.0 Standard Edition
  • Microsoft MS-DOS 4.01 Standard Edition
  • Microsoft MS-DOS 5.0 Standard Edition
  • Microsoft MS-DOS 5.0a



This article was previously published under Q51078

SUMMARY

The following FC (FILECOMPARE) command should compare file1 to file2, ignoring white space and adding line numbers to the differences report:

   fc /w/n file1 file2
                

Blank lines should be counted when computing the reported line numbers; however, they are not counted.

Microsoft has confirmed this to be a problem in MS-DOS versions 4.x and 5.x. This problem was corrected in later versions of MS-DOS.


Additional query words: 4.01 5.00

Keywords: KB51078