COPY A FILE

Format:COPY source destination[cr]

'source' and/or 'destination' may be defined indirectly:

Example: 

R0011 ARCHIVES    2   JANLOG.TXT
R0012                 FEBLOG.TXT
R0013                 MARLOG.TXT
.
.

R0020 LOGFILE     0   ALARMS.TXT

COPY @LOGFILE @ARCHIVES[cr]

ALARMS.TXT is copied to MARLOG.TXT


If 'destination' ends with ":" or "/" the path name of the destination is completed automatically with the same filename as 'source'.


Example:

COPY C:\REPORTS\MONTHLY.TXT  D:\[cr]

C:\REPORTS\MONTHLY.TXT  is copied to D:\MONTHLY.TXT

Access Level:1

(Close Window)