home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / fc / summary.hlp < prev   
Encoding:
Text File  |  1989-01-01  |  2.0 KB  |  46 lines

  1.                               FC
  2.  
  3. The FC external command compares two files.  FC is useful to determine how 
  4. .EXE files differ, or in what ways text files differ (you are reading a text 
  5. file now). Not all DOS systems have the FC command.
  6.  
  7. FC[/A][/B][/C][/L][/W][/T][/N][/LB buf] [/lines] 
  8.     [d1:][pathname1]filename1[.ext1] [d2:][pathname2]filename2[.ext2]
  9.      \____________________________/   \____________________________/
  10.             \source/              \target/
  11.  
  12. filename1 is the source file to be compared. A [d1:][pathname1] and .ext1
  13.     ext1 may be specified if necessary. 
  14.  
  15. filename2 is the target file to be compared. A [d2:][pathname2] and .ext2
  16.     may be specified if necessary. 
  17.  
  18. [/A] Abbreviate the list of differences in a text comparison, rather than
  19.     listing all of them. When blocks of text differ, only the first and last
  20.     lines of the blocks will be listed.
  21.  
  22. [/B] Do an exact comparison a character at a time. If differences are found, 
  23.     no allowance for inserted or deleted characters is made. /B is assumed 
  24.     when .BIN, .COM, .EXE. .LIB, .OBJ, and .SYS files are compared.
  25.  
  26. [/C] When comparing text files, ignore differences in the case of the
  27.     alphabetic characters being compared.
  28.  
  29. [/L] Text comparison a line at a time. If differences are found, an 
  30.     attempt to make allowances for inserted or deleted lines is made.
  31.     
  32. [/T] Tab characters (tabs set every 8 columns) are NOT the same as spaces 
  33.     in text comparisons.
  34.  
  35. [/W] White space -- sequences of tab characters and spaces are treated
  36.     as if they were a single space in doing text comparisons.
  37.  
  38. [/N] Display line numbers of differences in the text files being compared.
  39.  
  40. [/LB buf] Buffer <buf> lines of text in each file rather than the
  41.     default (100 lines) when comparing text files.
  42.  
  43. [/lines] <lines> specifies the minimum number of lines of text that
  44.     must match after a difference to report another difference. The 
  45.     default is two lines.
  46.