Utilities.SetCurrentDir Method

Applies to TestComplete 14.30, last modified on November 21, 2019
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

aqFileSystem.SetCurrentFolder Method
aqFileSystem.GetCurrentFolder Method
aqFileSystem.Exists Method

Highlight search results