Command Prompt Commands .com

 

copy command

             Name a star after a person

Copies files from one location to another. The destination defaults to the current directory. If multiple source files are indicated, the destination must be a directory, or an error will result.
copy filespec [destination]
    
Equivalent to the Unix command cp.

Files may be copied to devices (e.g. "copy file lpt1" would send the file to the printer on lpt1. "copy file con" would output to screen, which would be the same as type.

 

Command Prompt Commands » copy