diskcomp

In computing, diskcomp is a command used for comparing the complete contents of a floppy disk to another one.

diskcomp
Developer(s)Microsoft, IBM, DR, Datalight, Novell, Toshiba, Michal Meller
Initial release1981, 4142 years ago
Operating systemMS-DOS, PC DOS, FlexOS, DR DOS, ROM-DOS, 4690 OS, SISNE plus, OS/2, eComStation, ArcaOS, Windows, FreeDOS
PlatformCross-platform
TypeCommand
Websitedocs.microsoft.com/en-us/windows-server/administration/windows-commands/diskcomp

Overview

DISKCOMP.COM (among other commands) in IBM PC DOS 1.0.

The command is used on DOS, Digital Research FlexOS,[1] IBM/Toshiba 4690 OS,[2] SISNE plus,[3] IBM OS/2[4] and Microsoft Windows.[5] It is available in MS-DOS versions 3.2 and later and IBM PC DOS releases 1 and later.[6] Digital Research DR DOS 6.0[7] and Datalight ROM-DOS[8] also include an implementation of the diskcomp command. The FreeDOS version was developed by Michal Meller.[9]

The diskcomp command does not work with hard disk drives, CDs, network drives, Zip drives, or USB flash drives, etc. It also does not allow comparison from 3.5 inch drive to 5.25 inch drives, and vice versa. The source and target drive must be the same size.[10]

Examples

Compare floppy disks in drive A: and drive B:

diskcomp a: b:

If the computer has only one floppy disk drive (in this case drive A:), it is still possible to compare two disks:

diskcomp a: a:

The diskcomp command will prompt to insert each disk, as needed.

The software outputs "Compare OK" if no differences are found, and "Compare error on side [number], track [number]" upon detecting a difference.

References

  1. "FlexOS User's Guide" (PDF). www.bitsavers.org. 1986. Archived from the original (PDF) on 2019-09-25. Retrieved 2020-09-14.
  2. "SISNE plus - Referência Sumária". Datassette. May 14, 2015.
  3. "JRT Help - OS/2 Commands". jrttest.com.
  4. "Microsoft Windows XP - Diskcomp". Microsoft. Archived from the original on 2012-04-20. Retrieved 2012-07-09.
  5. Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN 0-7356-1812-7.
  6. DR DOS 6.0 User Guide Optimisation and Configuration Tips
  7. "Datalight ROM-DOS User's Guide" (PDF). www.datalight.com.
  8. "ibiblio.org FreeDOS Package -- diskcomp (FreeDOS Base)". www.ibiblio.org.
  9. "MS-DOS diskcomp command help". www.computerhope.com. Computer Hope. Retrieved 2016-01-18.

Further reading

  • Cooper, Jim (2001). Special Edition Using MS-DOS 6.22, Third Edition. Que Publishing. ISBN 978-0789725738.
  • Kathy Ivens; Brian Proffit (1993). OS/2 Inside & Out. Osborne McGraw-Hill. ISBN 978-0078818714.
  • Frisch, Æleen (2001). Windows 2000 Commands Pocket Reference. O'Reilly. ISBN 978-0-596-00148-3.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.