FileMove()
Moves a file to another directory.
Syntax
FileMove( <cSourceFile>, <cTargetFile> ) --> nErrorCode
Arguments
<cSourceFile>
This is a character string holding the name of the file to move. It must include path and file extension. The path can be omitted from <cSourceFile> when the file resides in the current directory.
<cTargetFile>
This is a character string with the new file name including file extension. Drive and/or path are optional. Return
The function returns zero on success or a numeric error code on failure.
Description
The function moves <cSourceFile> to a file specified with <cTargetFile>. The target file must be on the same drive as the source file.