Skip navigation

JSI Tip 3604. DISKCOMP documentation is incorrect?


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) ? n
If 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 1
NOTE: I aborted the command.




Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish