Utilities.ForceDirectories Method

Applies to TestComplete 12.60, last modified on September 17, 2018
This method is obsolete. See the Remarks section below.

Description

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

Declaration

Utilities.ForceDirectories(Dir)

Dir [in]    Required    String    
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Dir

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.

Remarks

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

See Also

aqFileSystem.CreateFolder Method
aqFileSystem.Exists Method

Highlight search results