home *** CD-ROM | disk | FTP | other *** search
- COMP
-
- The COMP external command compares two files or sets of files. COMP is
- frequently used after a COPY command to ensure that both files are identical.
-
- COMP [d1:][pathname1][filename1[.ext]] [d2:][pathname2][filename2[.ext]]
- \____________________________/ \_______________________________/
- \source/ \target/
-
- [d1:][pathname1][filename1[.ext]] is the source file to be compared.
- Multiple files can be compared using the wildcard characters.
-
- [d2:][pathname2][filename2.[ext]] is the target file to be compared with
- the source file. If no target filename is entered, files with the same
- filename(s) as the source files in the target path will be compared.
-
- The very first thing COMP does is compare the two file's sizes. If the size
- is different, the comparison ends. COMP will continue displaying other
- differences until 10 differences are encountered.
-
- Note: Two entire diskettes can be compared by using the DISKCOMP command.