SysDirDelete2 (FUN)ΒΆ
FUNCTION SysDirDelete2 : RTS_IEC_RESULT
Deletes a directory with the specified name
If xRecursive is set, a whole folder tree can be deleted, i.e. all subfolders and files are deleted. If xRecursive and xKeepDir are set, the folder is kept but its contents is deleted.
- InOut:
- Scope - Name - Type - Comment - Return - SysDirDelete2- RTS_IEC_RESULT- Returns the runtime system error code (see CmpErrors_Itf.library) - Input - szDir- REFERENCE TO STRING - Name of directory - xRecursive- BOOL- Delete a whole folder tree - xKeepDir- BOOL- Keep the starting folder 
