[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Remove a directory from the file system.
Source position: diskh.inc line 22
function RemoveDir( |
const Dir: RawByteString |
):Boolean; |
const Dir: UnicodeString |
):Boolean; |
RemoveDir removes directory Dir from the disk. If the directory is not absolute, 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, True is returned.