[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Remove a directory from the filesystem.
Source position: diskh.inc line 21
function RemoveDir( |
const Dir: String |
):Boolean; |
RemoveDirremoves directory Dirfrom the disk. If the directory is not absolue, it is appended to the current working directory.
For an example, see CreateDir.
In case of error (e.g. the directory isn't empty) the function returns False. If successful, Trueis returned.