home *** CD-ROM | disk | FTP | other *** search
- FC
-
- The FC external command compares two files. FC is useful to determine how
- .EXE files differ, or in what ways text files differ (you are reading a text
- file now). Not all DOS systems have the FC command.
-
- FC[/A][/B][/C][/L][/W][/T][/N][/LB buf] [/lines]
- [d1:][pathname1]filename1[.ext1] [d2:][pathname2]filename2[.ext2]
- \____________________________/ \____________________________/
- \source/ \target/
-
- filename1 is the source file to be compared. A [d1:][pathname1] and .ext1
- ext1 may be specified if necessary.
-
- filename2 is the target file to be compared. A [d2:][pathname2] and .ext2
- may be specified if necessary.
-
- [/A] Abbreviate the list of differences in a text comparison, rather than
- listing all of them. When blocks of text differ, only the first and last
- lines of the blocks will be listed.
-
- [/B] Do an exact comparison a character at a time. If differences are found,
- no allowance for inserted or deleted characters is made. /B is assumed
- when .BIN, .COM, .EXE. .LIB, .OBJ, and .SYS files are compared.
-
- [/C] When comparing text files, ignore differences in the case of the
- alphabetic characters being compared.
-
- [/L] Text comparison a line at a time. If differences are found, an
- attempt to make allowances for inserted or deleted lines is made.
-
- [/T] Tab characters (tabs set every 8 columns) are NOT the same as spaces
- in text comparisons.
-
- [/W] White space -- sequences of tab characters and spaces are treated
- as if they were a single space in doing text comparisons.
-
- [/N] Display line numbers of differences in the text files being compared.
-
- [/LB buf] Buffer <buf> lines of text in each file rather than the
- default (100 lines) when comparing text files.
-
- [/lines] <lines> specifies the minimum number of lines of text that
- must match after a difference to report another difference. The
- default is two lines.