In tip 0305, I introduced the FC and COMP file comparison commands.
If you want to verify that the content of two diskettes are the same, you could use the DISKCOMP command.
According to the CMD help:
Diskcomp
Compares the contents of two floppy disks.diskcomp \[drive1: \[drive2:\]\]
Parameters
drive1
Specifies the drive containing one of the floppy disks.
drive2
Specifies the drive containing the other floppy disk.
If you open a CMD prompt and type diskcomp /?, you receive:
Compares the contents of two floppy disks. DISKCOMP \[drive1: \[drive2:\]\]Therefore, if you type DISKCOMP, you should be prompted to insert the first diskette. If you type DISKCOMP A:, you should be prompted to insert the 2nd diskette after the first diskette is read. What actually happens is:
C:\>diskcomp Invalid drive specification. The specified drive does not exist or is non-removable. C:\>diskcomp A: Invalid drive specification. The specified drive does not exist or is non-removable. C:\>diskcomp A: A: Insert FIRST disk in drive A: and press ENTER when ready... Comparing 80 tracks 18 sectors per track, 2 side(s) Insert SECOND disk in drive A: and press ENTER when ready... Compare OK Compare another disk (Y/N) ? nIf you compare two diskettes that are not identical:
C:\>diskcomp A: A: Insert FIRST disk in drive A: and press ENTER when ready... Comparing 80 tracks 18 sectors per track, 2 side(s) Insert SECOND disk in drive A: and press ENTER when ready... Compare error on side 0, track 0 Compare error on side 1, track 0 Compare error on side 0, track 1NOTE: I aborted the command.
0 comments
Hide comments