Contents | < Browse | Browse >
COPY [-R] sourcefile1 [sourcefile2] ... destination

* There are 6 derivatives of the copy command :
  1. copy file to file.
     eg.     COPY C:LIST RAM:LS
  2. copy file to a directory.
     eg.     COPY C:MOUNT DF1:C
  3. copy multiple files to a directory.
     eg.     COPY L:PORT-HANDLER L:DISK-VALIDATOR DF1:L
  4. copy files in a directory to another directory.
     eg.     COPY C: DF2:C
  5. copy multiple directories to a single directory.
     eg.     COPY L: DEVS: C: RAM:
  6. Recursively copy all files and subdirectories within the source
     directory to the destination directory.
     eg.     COPY -R DF0: DF1:

Other examples:
        copy fred wilma
        copy c:dir df1:c
        copy dir list type cd df1:c
        copy -r df0:devs df1:devs
        copy -r source:*.s ram:
        copy df0: df1:          {only copy the files in df0: to df1:}