This command copies a file or directory tree.
copy [src filesys path] [dst filesys path]
Parameters
- src filesys path
Specifies the full pathname of the file or directory to copy. If a directory is specified, then all files and subdirectories it contains are copied. - dst filesys path
Specifies the full pathname of the destination ___location of the copied data.
Remarks
This command automatically creates the destination directory for the copy if it does not already exist.
The following code example copies a file called myfile.txt to a different directory:
copy \volume\myfile.txt \volume\dir\myfile.txt
See Also
Send Feedback on this topic to the authors