Utilities.ForceDirectories Method

Applies to TestComplete 15.10, last modified on December 01, 2021
This method is obsolete. See the Remarks section below.


Use the Utilities.ForceDirectories method to create a new folder specified by the Dir parameter.



Dir [in]    Required    String    
Result Boolean

Applies To

The method is applied to the following object:


The method has the following parameter:


Specifies the full path to the desired folder. If this path includes folders that do not exist, they will be created.

Result Value

The method returns True if it created all the folders successfully. Otherwise, it returns False.


This method is obsolete. It is supported for backward compatibility only. To create a new folder, use the aqFileSystem.CreateFolder method.

See Also

CreateFolder Method
Exists Method

Highlight search results