SysDirCreate2 (FUN)

 

FUNCTION SysDirCreate2 : RTS_IEC_RESULT

Creates a new directory with the specified name. If xRecursive is set, a full path is created, i.e. all missing parent directories are created too.

InOut:

Scope

Name

Type

Comment

Return

SysDirCreate2

RTS_IEC_RESULT

Returns the runtime system error code (see CmpErrors_Itf.library)

Input

szDir

REFERENCE TO STRING

Name of the directory

xRecursive

BOOL

Create a full path