SysFileGetPath (FUN)
FUNCTION SysFileGetPath : RTS_IEC_RESULT
Get the path of this file.
If a path is specified in the filename, the path will be extracted from the filename.
If no path is specified in the filename, the standard path for this file extension type will be returned.
- InOut:
Scope
Name
Type
Comment
Return
SysFileGetPathRTS_IEC_RESULTThe runtime system error code (see CmpErrors.library)
Input
szFileNameSTRING
File name. Can contain an absolute or relative path
Inout
szPathSTRINGPath for this file
Input
diMaxLenDINTMaximum size in bytes of path length