[Overview][Constants][Types][Classes][Procedures and functions][Index] |
DeleteDirectory - Delete the named directory (or only its contents if OnlyChilds is True)
Source position: fileutil.pas line 71
function DeleteDirectory( |
const DirectoryName: String; |
OnlyChilds: Boolean |
):Boolean; |
DirectoryName |
|
The name of the directory for processing |
OnlyChilds |
|
If True, only the contents ('children') of the directory are removed |
Returns True if the directory or its contents were correctly removed
If there was an error, such as trying to removing . or .., or there were insufficient permissions, or the file did not exist, False is returned
lazarus-ccr.sourceforge.net |