Utilities.SetCurrentDir Method

Applies to TestComplete 15.62, last modified on March 19, 2024
This method is obsolete. See the Remarks section below.

Description

The Utilities.SetCurrentDir method sets the directory specified by the Dir parameter as the current directory.

Declaration

Utilities.SetCurrentDir(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 name of the directory which TestComplete will make the current directory.

Result Value

If the current directory has been changed successfully, the method returns True. Otherwise, it returns False.

Remarks

This method is obsolete. It is supported for backward compatibility only. To set the current directory, use the aqFileSystem.SetCurrentFolder method.

See Also

SetCurrentFolder Method
GetCurrentFolder Method
Exists Method

Highlight search results