Site hosted by Angelfire.com: Build your free website today!

MS-DOS Internal Commands

The COPY Command

Description:

Copies one or more files to another location.

Command Syntax:

COPY [/A | /B] source [/A | /B] [+ source [/A | /B] [+ ...]] [destination [/A | /B]] [/V]

Explanation of Syntax:

[source] specifies the file or files to be copied.
[/A] indicates an ASCII text file.
[/B] indicates a binary file.
[destination] specifies the directory and/or filename for the new file(s).
[/V] verifies that new files are written correctly.

To append files, specify a single file for destination, but multiple files for source (using wildcards or file1+file2+file3 format).

Command Use:

This command can be used in batch files and at the command prompt.