Deletes an existing empty directory.
function RemoveDir(const Dir: string): Boolean;
Boolean RemoveDir(const AnsiString Dir);
SysUtils
Call RemoveDir to remove the directory specified by the Dir parameter. The return value is true if a new directory was successfully deleted, false if an error occurred. The directory must be empty before it can be successfully deleted.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|