copy

Copy 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.
 
SYNTAX:
copy filespec [destination]
 
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.
 
Most useful to note that “copy file.txt+file2.txt > file_cat.txt” will concatenate the files and output them as file_cat.txt.
Scroll to Top