This method is obsolete. See the Remarks section below. |
Description
The RemoveFolders
method lets you delete the specified folder and all its contents (files and subfolders) from disk. To remove a folder only on condition that it is empty, use RmDir
(a DelphiScript routine).
Declaration
Applies To
The method is applied to the following object:
Parameters
The method has the following parameter:
RootFolder
Result Value
True if the deletion succeeded and False otherwise.
Remarks
This method is obsolete. It is supported for backward compatibility only. To delete a folder from the disk, use the aqFileSystem.DeleteFolder
method.
See Also
DeleteFolder Method
RmDir Procedure
CopyFolder Method
Copy Method