A SERVICE OF

logo

Chapter 3 173
Command Definitions C-E
COPY
In the next example the file MYFILE.PUB.SYS is copied to MyFile under the current
working directory (CWD). Note that the target file name has to have the dot and slash (./)
prefix.
COPY myfile.pub.sys, ./MyFile
In the next example, the file File1 under the CWD is copied to MYFILE.PUB in the
current account.
COPY ./File1, myfile.pub
In this next example, file1 in directory dir0 is copied to file2 in directory dir1.
COPY ./dir0/file1, ./dir1/file2
In the following example, the file TEST has a lockword which is the word LOCK. The file is
copied into file1 in the dir0 directory.
COPY TEST/LOCK, ./dir0/file1
The next example copies the file FILE1 to the directory dir1
COPY FILE1 ./dir1/
The next example copies the file file1 to the directory DIR1.
COPY ./file1 DIR1
Related Information
Commands FCOPY
Manuals Using the HP 3000 Series 900: Fundamental Skills