|Download Help (Windows Only)|
Engine.FindPath ( pathToFind, absolutePath, statusFlag, [currentSequenceFile])
Returns True if the file or directory is found.
Searches for a file or directory under the TestStand search directories using a simple file or directory name or relative pathname.
pathToFind As String
[In] Specifies a string that contains the simple file or directory name or relative pathname of the file or directory to search for. TestStand expands macros in the path as specified by the Engine.ExpandPathMacros method before searching.
absolutePath As String
[Out] Returns the absolute pathname of the file or directory if it is found.
statusFlag As FindPathStatusValues
[Out] Returns more information about the file or directory.
currentSequenceFile As Variant
[In] [Optional] If you pass a SequenceFile object for this parameter, the Engine.FindPath method initially searches the directory where the sequence file is stored if the Current Sequence File Directory option is enabled. Select Configure»Search Directories to launch the Edit Search Directories dialog box and enable the Current Sequence File Directory option.