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
SysFileGetPath
RTS_IEC_RESULT
The runtime system error code (see CmpErrors.library)
Input
szFileName
STRING
File name. Can contain an absolute or relative path
Inout
szPath
STRING
Path for this file
Input
diMaxLen
DINT
Maximum size in bytes of path length