Engine.FindPath
- Aktualisiert2025-07-21
- 1 Minute(n) Lesezeit
Engine.FindPath
Syntax
Engine.FindPath( pathToFind, absolutePath, statusFlag, [currentSequenceFile])
Return Value
Returns True if the file or directory is found.
Purpose
Searches for a file or directory under the TestStand search directories using a simple file or directory name or relative pathname.
Parameters
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.