Deletes an existing empty directory.
function RemoveDir(const Dir: string): Boolean;
Boolean RemoveDir(const AnsiString Dir);
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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!