| [Overview][Constants][Types][Classes][Procedures and functions][Index] |
DeleteDirectory - Delete the named directory (or only its contents if OnlyChildren is True)
Source position: fileutil.pas line 58
function DeleteDirectory( |
const DirectoryName: string; |
OnlyChildren: Boolean |
):Boolean; |
DirectoryName |
|
The name of the directory for processing |
OnlyChildren |
|
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 |