Copy (command)

copy
Developer(s)DEC, Intel, MetaComCo, Heath Company, Zilog, Microware, HP, Microsoft, IBM, DR, TSL, Datalight, Novell, Toshiba
Operating systemRT-11, OS/8, RSX-11, ISIS-II, iRMX 86, TOPS-10, TOPS-20, OpenVMS, TRIPOS, HDOS, DOS, MSX-DOS, FlexOS, 4680 OS, 4690 OS, PC-MOS, Z80-RIO, OS-9, MPE/iX, OS/2, Windows, ReactOS, SymbOS, DexOS
TypeCommand
LicenseHDOS: PD
MS-DOS: MIT
PC-MOS: GPL v3
ReactOS: GPL v2

copy is a shell command for copying files.[1][2]

Different implementations provide various capabilities, such as:

  • Combining (concatenating) multiple files into a single file
  • If multiple source files are specified before the path to an existing directory, then files are copied to the directory
  • Support for text vs. binary data; for text, the command stops when it reaches an end-of-file (EOF) character; for binary, files are copied in their entirety; ignoring EOF
  • In DOS, a file can be copied to or from a device. For example, copy path con outputs the file at path to the console, and copy con path copies text typed at the console to a file at path
  1. ^ "Microsoft TechNet Copy article". 2009-09-11.
  2. ^ Rügheimer, Hannes; Spanik, Christian (1988-09-14). AmigaDOS quick reference. Grand Rapids, Mi : Abacus. ISBN 9781557550491 – via Internet Archive.

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search