Showing changes from revision #3 to #4:
Added | Removed | Changed
This *Command copies between directories the object(s) that match the given wildcard specification.
*Copy source_spec destination_spec [[~]options]
source_spec | Valid (wilcarded) pathname specifying a file or directory | |
dest_spec | Valid (wilcarded) pathname specifying a file or directory | |
options | Valid options (Upper/lowercase letters, separated by spaces) | Default ? |
---|---|---|
A(ccess) | Force destination access to same as source | ON |
C(onfirm) | Prompt for confirmation of each copy | ON |
D(elete) | Delete the source object after copy | OFF |
F(orce) | Force overwriting of existing object | OFF |
L(ook) | Look at destination before loading source file | OFF |
N(ewer) | Copy only if source more recent than destination | OFF |
P(rompt) | Prompt for disc to be changed as needed in copy | OFF |
Q(uick) | Use application workspace as a buffer | OFF |
R(ecurse) | Copy subdirectories and contents | OFF |
S(tamp) | Restamp date-stamped files after copying | OFF |
(s)T(ructure) | Copy only the directory structure | OFF |
V(erbose) | Print information on each object copied | ON |
Options are taken from the system variable Copy$Options
, and those given to the command.
To turn on a specific option, it must be included in the option list. To ensure a specific option is turned off, then it must be preceded with the tilde symbol (~).
The leafname of the destination must specify a filename, or the wildcard symbol ‘*’, which in the latter case will use the same pathname as the source file.
It is important to note, that an infinite loop can easily be caused by copying a directory into one of its sub-directories.