SysFileCopy (FUN)
FUNCTION SysFileCopy : RTS_IEC_RESULT
Copy one file to another.
A standard path will be added to the filename, if no path is specified.
- InOut:
Scope
Name
Type
Comment
Return
SysFileCopyRTS_IEC_RESULTThe runtime system error code (see CmpErrors.library)
Input
szDestFileNameSTRING
Destination file name. File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) and not with a Backslash (\)!
szSourceFileNameSTRING
Source file name. File name can contain an absolute or relative path to the file. Path entries must be separated with a Slash (/) and not with a Backslash (\)!
pulCopiedPOINTER TO __XWORD
Number of bytes copied