Maptitude GISDK Help

RemoveDirectory()

Summary

Removes a folder (directory).

 

Syntax

RemoveDirectory(string dir_name)

 

Argument

Contents

dir_name

The full path name of the folder (directory) to remove

 

Notes

Example

// Remove folder MyFiles in the Data folder on drive C

RemoveDirectory("C:\\Data\\MyFiles")

 

Error Codes

Error Type

Meaning

Error

Access was denied to the folder (directory) or it was not empty

 

See Also

Function

Summary

CreateDirectory()

Creates a new folder (directory) with a default security descriptor set by the system

DeleteFile()

Deletes a file

PutInRecycleBin()

Puts a file or folder in the recycle bin

 

 

©2025 Caliper Corporation www.caliper.com