To properly display this page you need a browser with JavaScript support.
HTBasic Help
×
Menu
Index
Search
Search
Reference
HTBasic Keywords
COPY - Copies files.
Previous page
Next page
Print version
(c) TransEra Corp, 2021
To properly display this page you need a browser with JavaScript support.
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:
CAT
,
CREATE
,
CREATE ASCII
,
CREATE BDAT
,
MASS STORAGE IS
,
PERMIT
,
PROTECT
,
PURGE
,
RENAME
,
SYSTEM$("MSI")