COPYFILE
COPYFILE is used to make a copy of a file.
Syntax:
COPYFILE sourcefilename, newfilename
Discussion:
This keyword requires two file names, defined as literal string expressions in quotes or as string variables. The file sourcefilename is copied into the new file newfilename. If newfilename already exists it is overwritten without warning.
Example:
COPYFILE "C:\source.dat", "C:\copy.dat"
Related Keywords:
DELETEFILE
RENAMEFILE
Next: