Copy (command)
| copy | |
|---|---|
The ReactOS copy command | |
| Developer(s) | DEC, Intel, MetaComCo, Heath Company, Zilog, Microware, HP, Microsoft, IBM, DR, TSL, Datalight, Novell, Toshiba |
| Operating system | RT-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 |
| Type | Command |
| License | HDOS: PD MS-DOS: MIT PC-MOS: GPL v3 ReactOS: GPL v2 |
copy is a shell command for copying files.
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 conoutputs the file at path to the console, andcopy con pathcopies text typed at the console to a file at path