HTBasic Help
×
Menu
Index

COPY

Copies files.
 
 COPY old-file-specifier TO new-file-specifier [;PURGE]
 
Usage:
COPY "Oldfile" TO A$&VAL$(I)
COPY "/Empl1/AFile" TO "/Empl2/AFile"
COPY A$&B$ TO "D:\DIR\FILE";PURGE
 
Example: COPY.BAS
 
Description:
COPY (as a program statement or as a keyboard command) makes a duplicate copy of a file and gives it a new name. If the new-file-specifier already exists, an error is reported unless the PURGE option is included.
 
See Also: