COPIES THE EXISTING FILE F1 TO THE NEW FILE F2
ACTION
The command FILE_COPY F1,F2 copies the existing file F1 to the new file F2. An error is generated if the file F2 already exists.
F1 and F2 are absolute or relative names of file.
The absolute name is the entire name, related to the root of the file system (ex: "c:\temp\file.txt").
The relative name is the name of the file related to the current directory (ex: "file.txt" or "/file.txt" or "\file.txt").
SYNTAX:
FILE_COPY F1,F2
USE ERROR EXAMPLE
rem copy the file "test.txt" to "test2.txt"
file_copy "test.txt","test2.txt"
FILE_COPY
FILE_COPY F1,F2
SEE ALSO
FILE_MOVE