BuiltIn.RemoveFolders Method

Applies to TestComplete 15.65, last modified on July 17, 2024
This method is obsolete. See the Remarks section below.


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).



RootFolder [in]    Required    String    
Result Boolean

Applies To

The method is applied to the following object:


The method has the following parameter:


Result Value

True if the deletion succeeded and False otherwise.


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

Highlight search results