sExistingFile | (String) The file name with the path to copy.
If a full path is not entered, then it is completed relative to the application folder. It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files or folders. |
---|---|
sNewFile | (String) Path and name of the newly created file. Folder, where the file is created, must exist, otherwise the method fails.
It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files or folders. |
bFailIfExist | (Boolean) Operation mode
0 - existing file will be overwritten by a new one
1 - the method fails if the created file already exists |
Pm.FileCopy("#data:boildat.ini", "C:/Backup/boildat1.ini", 0);