Diskcomp

Last updated
diskcomp
Developer(s) Microsoft, IBM, DR, Datalight, Novell, Toshiba, Michal Meller
Initial release1981, 4142 years ago
Operating system MS-DOS, PC DOS, FlexOS, DR DOS, ROM-DOS, 4690 OS, SISNE plus, OS/2, eComStation, ArcaOS, Windows, FreeDOS
Platform Cross-platform
Type Command
Website docs.microsoft.com/en-us/windows-server/administration/windows-commands/diskcomp

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

Contents

Overview

DISKCOMP.COM (among other commands) in IBM PC DOS 1.0. IBM PC DOS 1.0 screenshot.png
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.

Related Research Articles

dir (command) Directory information command on various operating systems

In computing, dir (directory) is a command in various computer operating systems used for computer file and directory listing. It is one of the basic commands to help navigate the file system. The command is usually implemented as an internal command in the command-line interpreter (shell). On some systems, a more graphical representation of the directory structure can be displayed using the tree command.

fdisk Command line utility of DOS and Microsoft Windows operating systems

fdisk is a command-line utility for disk partitioning. It has been part of DOS, DR FlexOS, IBM OS/2, and early versions of Microsoft Windows, as well as certain ports of FreeBSD, NetBSD, OpenBSD, DragonFly BSD and macOS for compatibility reasons. Windows 2000 and its successors have replaced fdisk with a more advanced tool called diskpart.

<span class="mw-page-title-main">XCOPY</span> Computing command

In computing, XCOPY is a command used on IBM PC DOS, MS-DOS, IBM OS/2, Microsoft Windows, FreeDOS, ReactOS, and related operating systems for copying multiple files or entire directory trees from one directory to another and for copying files across a network.

exit (command) Command of many operating system command line interpreters and scripting languages

In computing, exit is a command used in many operating system command-line shells and scripting languages.

<span class="mw-page-title-main">CHKDSK</span> System tool in DOS, OS/2 and Windows

In computing, CHKDSK is a system tool and command in DOS, Digital Research FlexOS, IBM/Toshiba 4690 OS, IBM OS/2, Microsoft Windows and related operating systems. It verifies the file system integrity of a volume and attempts to fix logical file system errors. It is similar to the fsck command in Unix and similar to Microsoft ScanDisk, which co-existed with CHKDSK in Windows 9x and MS-DOS 6.x.

In computing, share is a command for DOS that allows software to perform file locks. Locking files became necessary when MS-DOS began allowing files to be accessed simultaneously by multiple programs, either through multitasking or networking.

tree (command) Shell command in various operating systems

In computing, tree is a recursive directory listing command or program that produces a depth-indented listing of files. Originating in PC- and MS-DOS, it is found in Digital Research FlexOS, IBM/Toshiba 4690 OS, PTS-DOS, FreeDOS, IBM OS/2, Microsoft Windows, and ReactOS. A version for Unix and Unix-like systems is also available.

<span class="mw-page-title-main">ATTRIB</span>

In computing, ATTRIB is a command in Intel ISIS-II, DOS, IBM OS/2, Microsoft Windows and ReactOS that allows the user to change various characteristics, or "attributes" of a computer file or directory. The command is also available in the EFI shell.

In computing, sys is a command used in many operating system command-line shells and also in Microsoft BASIC.

del (command) Command in various operating systems

In computing, del is a command in command-line interpreters (shells) such as COMMAND.COM, cmd.exe, 4DOS, NDOS, 4OS2, 4NT and Windows PowerShell. It is used to delete one or more files or directories from a file system.

<span class="mw-page-title-main">PRINT (command)</span> Computing command

In computing, the print command provides single-user print spooling capability in a number of operating systems. It is roughly similar to that provided by the UNIX System V lp and BSD lpr print spooler systems.

find (Windows)

In computing, find is a command in the command-line interpreters (shells) of a number of operating systems. It is used to search for a specific text string in a file or files. The command sends the specified lines to the standard output device.

In computing, label is a command included with some operating systems. It is used to create, change, or delete a volume label on a logical drive, such as a hard disk partition or a floppy disk. Used without parameters, label changes the current volume label or deletes the existing label.

help (command) Command in various command line shells

In computing, help is a command in various command line shells such as COMMAND.COM, cmd.exe, Bash, qshell, 4DOS/4NT, Windows PowerShell, Singularity shell, Python, MATLAB and GNU Octave. It provides online information about available commands and the shell environment.

copy (command)

In computing, copy is a command in various operating systems. The command copies computer files from one directory to another.

format (command)

In computing, format, a command-line utility that carries out disk formatting. It is a component of various operating systems, including 86-DOS, MS-DOS, IBM PC DOS and OS/2, Microsoft Windows and ReactOS.

choice (command)

In computing, choice is a command that allows for batch files to prompt the user to select one item from a set of single-character choices. It is available in a number of operating system command-line shells.

In computing, diskcopy is a command used on a number of operating systems for copying the complete contents of a diskette to another diskette.

In computing, recover is a primitive file system error recovery utility included in MS-DOS / IBM PC DOS versions prior to DOS 6.0 and a number of other operating systems.

The command-line tool exe2bin is a post-compilation utility program available on MS-DOS and other operating systems.

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

Further reading