Maptitude GISDK Help |
Removes a folder (directory).
RemoveDirectory(string dir_name)
Argument |
Contents |
dir_name |
The full path name of the folder (directory) to remove |
The folder must be empty before it can be removed.
To put a folder into the recycle bin rather than deleting it, use PutInRecycleBin().
// Remove folder MyFiles in the Data folder on drive C
RemoveDirectory("C:\\Data\\MyFiles")
Error Type |
Meaning |
Error |
Access was denied to the folder (directory) or it was not empty |
Function |
Summary |
Creates a new folder (directory) with a default security descriptor set by the system |
|
Deletes a file |
|
Puts a file or folder in the recycle bin |
©2025 Caliper Corporation | www.caliper.com |