Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption
Deletes an existing empty directory within a single file system.
function RemoveDir(const Dir: string): Boolean;
Description
Call RemoveDir to remove the directory specified by the Dir parameter within a single file system. 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.
Note:
To delete not empty folder use DeleteFolder function.
|