Diskcopy

Last updated
diskcopy
Original author(s) Chris Peters
Developer(s) Microsoft, IBM, Digital Research, Datalight, Novell, Toshiba, MetaComCo, Processor Technology, TSL, Imre Leber
Initial release1982, 4041 years ago
Operating system MS-DOS, PC DOS, FlexOS, DR DOS, 4690 OS, TRIPOS, PTDOS, AmigaDOS, PC-MOS, ROM-DOS, PTS-DOS, SISNE plus, FreeDOS, OS/2, eComStation, ArcaOS, Windows
Platform Cross-platform
Type Command
License MS-DOS: MIT
FreeDOS: GNU GPL 2
PC-MOS: GNU GPL 3

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

Contents

Implementations

DISKCOPY.COM (among other commands) in IBM PC DOS 1.0. IBM PC DOS 1.0 screenshot.png
DISKCOPY.COM (among other commands) in IBM PC DOS 1.0.

The command is available in MS-DOS, IBM PC DOS, DR FlexOS, [3] IBM/Toshiba 4690 OS, [4] MetaComCo TRIPOS, [5] Processor Technology PTDOS, [6] AmigaDOS, TSL PC-MOS, [7] PTS-DOS, [8] SISNE plus, [9] FreeDOS, [10] IBM OS/2, [11] and Microsoft Windows. [12]

The MS-DOS version was originally written in August 1982. [13] [14] It is available in MS-DOS versions 2 and later. [15] Digital Research DR DOS 6.0 [16] and Datalight ROM-DOS [17] also include an implementation of the diskcopy command. The FreeDOS version was developed by Imre Leber and is licensed under the GNU GPL 2. [18]

The command is not included in Windows 10. [19] [ failed verification ]

The command is not included in Windows 11. xcopy is a like command

Example

>diskcopy a: b: 
>diskcopy a: 
>diskcopy a: /1 
>diskcopy a: /V 
>diskcopy a: /M 

Limitation

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

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.

mkdir Directory creation command on various operating systems

The mkdir command in the Unix, DOS, DR FlexOS, IBM OS/2, Microsoft Windows, and ReactOS operating systems is used to make a new directory. It is also available in the EFI shell and in the PHP scripting language. In DOS, OS/2, Windows and ReactOS, the command is often abbreviated to md.

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.

<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.

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.

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

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

References

  1. "Microsoft Windows XP - Diskcopy". Microsoft . Archived from the original on 2012-07-12. Retrieved 2012-07-09.
  2. Rügheimer, Hannes; Spanik, Christian (September 14, 1988). AmigaDOS quick reference. Grand Rapids, Mi : Abacus. ISBN   9781557550491 via Internet Archive.
  3. "FlexOS User's Guide" (PDF). www.bitsavers.org. 1986. Archived from the original (PDF) on 2019-09-25. Retrieved 2020-09-14.
  4. [ dead link ]
  5. "Manual" (PDF). www.pagetable.com. Retrieved 2020-09-14.
  6. Leaflet for the Helios II system and PTDOS
  7. "roelandjansen/pcmos386v501". GitHub. 10 October 2022.
  8. "PTS-DOS 2000 Pro User Manual" (PDF). Buggingen, Germany: Paragon Technology GmbH. 1999. Archived (PDF) from the original on 2018-05-12. Retrieved 2018-05-12.
  9. "SISNE plus - Referência Sumária". Datassette. May 14, 2015.
  10. "ibiblio.org FreeDOS Group -- FreeDOS Base". www.ibiblio.org.
  11. "JaTomes Help - OS/2 Commands". Archived from the original on 2019-04-14. Retrieved 2019-07-27.
  12. "Diskcopy". docs.microsoft.com. 11 September 2009.
  13. Paterson, Tim (2013-12-19) [1983]. "Microsoft DOS V1.1 and V2.0: /msdos/v20source/DISKCOPY.ASM". Computer History Museum, Microsoft . Retrieved 2015-10-01.
  14. Shustek, Len (2014-03-24). "Microsoft MS-DOS early source code". Software Gems: The Computer History Museum Historical Source Code Series. Retrieved 2015-10-01.
  15. Wolverton, Van (2003). Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition. Microsoft Press. ISBN   0-7356-1812-7.
  16. DR DOS 6.0 User Guide Optimisation and Configuration Tips
  17. "Datalight ROM-DOS User's Guide" (PDF). www.datalight.com.
  18. "ibiblio.org FreeDOS Package -- DiskCopy (FreeDOS Base)". www.ibiblio.org.
  19. "diskcopy". docs.microsoft.com. 3 February 2023.
  20. "ActiveWindows -- DOS Diskcopy Command". www.activewin.com. Archived from the original on July 7, 2011.

Further reading