CopyFileΒΆ
CopyFile copies an existing file to a new file.
- bool = CopyFile(ssExistingFileName, ssNewFileName, bFailIfExists)
Return Value
bool is TRUE (1) if the copy could be created, otherwise FALSE (0).
Parameters
- ssExistingFileName
ssExistingFileName is the file name of an existing file.
- ssNewFileName
ssNewFileName is the new file name.
- bFailIfExists
If bFailIfExists is TRUE (1) the file will not be copied if a file with the same name already exists. The file will be overwritten if bFailIfExists is FALSE (0).
See also
id-249350