|
|
To copy all the files in a directory, use the
copy(C)
command, as follows:
copy old_directory new_directory
old_directory is the name of the directory you want to copy, and new_directory is the name you want the copy to have. Simple names and pathnames are acceptable in both cases.
In order to copy a directory and all its files, you must have read and execute permissions on that directory, read permission on the files in that directory, and write permission on the directory into which you want to copy. See ``Access control for files and directories'' for details.