Diskcomp Ü
ßßßßßßßßß
Compares the contents of two floppy disks, track by track
Syntax: DISKCOMP [d1: [d2:]] [/1] [/8]
d: The drive letter for a floppy disk. If only one drive letter is
given, assume the working drive (if a floppy drive.) If no drive
letters are given, assume both are the working drive (if a floppy).
If both drives are the same, diskcomp will read one floppy at a
time, and you may need to swap floppies.
/1 Compare only the first sides of the disks, even if double-sided
disks.
/8 Compare only the first 8 sectors per track.
Diskcomp messages
If all tracks on the two disks being compared are the same, diskcomp
displays the following message:
Compare OK
If not, diskcomp displays a message like this:
Compare error on side 1, track 2
When it is done, diskcomp asks:
Compare another diskette (Y/N)? _
Omitting drive parameters
If you omit the drive2 parameter, diskcomp uses the current drive for
drive2. If you omit both drive parameters, diskcomp uses the current
drive for both. If the current drive is the same as drive1, diskcomp
prompts you to swap disks as necessary.
Using one drive for the comparison
If you specify the same floppy disk drive for drive1 and drive2,
diskcomp does a comparison by using one drive and prompts you to
insert the disks as necessary.
Comparing different types of disks
Diskcomp cannot compare a single-sided disk with a double-sided disk,
nor a high-density disk with a double-density disk. If the disk in
drive1 is not the same type as the disk in drive2, diskcomp displays
an error message.
Using diskcomp with networks and redirected drives
Diskcomp does not work on a network drive or on a drive created or
affected by an assign, join, or subst command. If you attempt to use
diskcomp with a drive of any of these types, diskcomp displays an
error message.
Comparing an original disk with a copy
When you use diskcomp with a disk that you made with the copy command,
diskcomp may display an error message like this:
Compare error on side 0, track 0
This type of error can occur even if the files on the disks are
identical. Although the copy command duplicates information, it
doesn't necessarily place it in the same location on the destination
disk.
See Also:
Comp
Fc