Utilities.SetCurrentDir Method

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


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



Dir [in]    Required    String    
Result Boolean

Applies To

The method is applied to the following object:


The method has the following parameter:


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.


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