BuiltIn.RemoveFolders Method

Applies to TestComplete 15.47, last modified on January 20, 2023
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

BuiltIn.RemoveFolders(RootFolder)

RootFolder [in]    Required    String    
Result Boolean

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

Highlight search results