Hubbry Logo
search
logo
1285610

Copy (command)

logo
Community Hub0 Subscribers
Write something...
Be the first to start a discussion here.
Be the first to start a discussion here.
See all
Copy (command)

copy is a shell command for copying files.

Different implementations provide various capabilities, such as:

The command is available in RT-11, OS/8, RSX-11, ISIS-II, iRMX 86, TOPS-10, TOPS-20, OpenVMS, MetaComCo TRIPOS, HDOS, Z80-RIO, OS-9, DOS, FlexOS, 4690 OS, PC-MOS, HP MPE/iX, OS/2, Windows, ROM-DOS, ReactOS, SymbOS, DexOS, and 86-DOS.

Under IBM PC DOS/MS-DOS the command is available since version 1.

Some shells provide a copy command with a different name. In Unix-based systems, the copy command is cp. In CP/M, the command is PIP. in OpenVOS, the command is copy_file.

The following copies existing file fromfile to path tofile.

A file can be copied to a device. The following sends a file to the printer on lpt1.

The following outputs to stdout, like the type command.

See all
User Avatar
No comments yet.