SysFileRename
(FUN)
FUNCTION SysFileRename : RTS_IEC_RESULT
Rename the file.
A standard path will be added to the filename, if no path is specified.
- InOut:
Scope
Name
Type
Comment
Return
SysFileRename
RTS_IEC_RESULT
Returns the runtime system error code (see CmpErrors.library)
Input
szOldFileName
STRING
Old 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 (\)!
szNewFileName
STRING
New 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 (\)!