The method RemoveDir deletes the directory specified by the Path parameter. Please note that the directory has to be empty before you can remove it.
The function returns the following error codes:
0 ... everything is OK
-2 ... path not found or directory not empty
-3 ... cannot read file (access error)
-9 ... unspecified error
|