COPY

In the next example, the ￿le File1 under the CWD is copied to MYFILE.PUB in the current account.

d

 

 

 

a

 

COPY ./File1, myfile.pub

 

 

c

 

 

 

b

In the next example,

file1 in directory dir0 is copied to file2 in directory

dir1.

 

 

 

 

d

 

 

 

a

 

COPY ./dir0/file1, ./dir1/file2

 

 

c

 

 

 

b

In the following example, the ￿le TEST has a lockword which is the word LOCK. The ￿le is copied in to file1 in the dir0 directory.

d

 

a

 

COPY TEST/LOCK, ./dir0/file1

 

 

 

 

 

 

 

c

 

b

The following example copies the ￿le

/a/b/file to the CWD as \￿le". F or

example, if your CWD is /ACCT/GRP , then the copied ￿le will be named

/ACCT/GRP/file .

 

 

d

 

a

 

COPY /a/b/file

 

 

c

 

b

 

Related Commands

FCOPY

2-56 MPE/iX Commands