help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

RemoveDir

Remove a directory from the filesystem.

Declaration

Source position: diskh.inc line 21

function RemoveDir(

  const Dir: String

):Boolean;

Description

RemoveDir removes directory Dir from the disk. If the directory is not absolue, it is appended to the current working directory.

For an example, see CreateDir.

Errors

In case of error (e.g. the directory isn't empty) the function returns False. If successful, True is returned.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505