[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Deletes the specified directory (or only its contents when 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.
Returns True when the specified entries are deleted on the local file system. Returns False when:
Version 3.2 | Generated 2024-02-25 | Home |