The COMP command compares the contents of one or more files to ensure they
are identical.  The file(s) normally have been duplicated using the COPY
command.  The command format is as follows:

          COMP [d:][path][filename[.ext]] [d:][path][filename[.ext]]

The first name specified is the primary file, the second is the secondary file.
The files may be contained in different directories and/or different disk
drives.  Global filename characters "*" and "?" may be used in the filename and
extension (see the help file GLOBALS for details).  When globals are used,
filenames matching the primary filename are compared to the secondary files
with matching names (see the example below).  Should only the disk drive or
path be specified, the filename assumed is *.* (all files in the specified
directories with matching filenames and extensions).

If the COMP command is entered without parameters, you are prompted for them
when the program runs.  This is useful if you want to compare files on another
diskette using your default disk drive.  When you are prompted for the
filenames, insert the desired diskette then input the filenames to be compared.
This prompting also occurs if the second parameter is not supplied when the
command is invoked or if there are no matches found with the primary file name.

File comparison is aborted after the 10th file mismatch is detected.
If the lengths of the files to be compared are different, the comparison is
not attempted and an error message is displayed.

The DISKCOMP command may be used to compare the entire contents of a disk,
but should only be used if the diskette was duplicated using the DISKCOPY
command (see the help files DISKCOMP and DISKCOPY for details).

Examples:

COMP *.DOC *.BAK  - Compare all the files with a .DOC extension with all files
                    with a matching filename and a .BAK extension.  The default
                    disk drive and directory contains all the files to be
                    compared.

COMP \ B:  - Compare all the files with matching filenames in the root
             directory of the current disk to the files in the current
             directory of disk drive B:.

COMP \DIR1\*.HLP C:  - Compare all the files with a .HLP extension in directory
                       DIR1 of the current disk drive to all the files with
                       the same filename and extension in the current directory
                       on disk drive C:.
 cannot be obtained.
em disk (if the batch file
 