|Download Help (Windows Only)|
Engine.GetRelativePathFromAbsolutePath ( absolutePath, searchContext, relativePath, searchDirectoryPath)
Returns True if the file is found.
Searches for a file in the TestStand search directories using an absolute path and returns the relative path with respect to the search directory.
absolutePath As String
[In] An absolute or relative path for the file to find.
searchContext As Variant
[In] Contains the directory of the sequence file, which may also be searched for relative paths.
relativePath As String
[Out] Returns the relative path if the file exists on disk and a relative path is found. Otherwise, returns the absolute path.
searchDirectoryPath As String
[Out] Returns the related search directory if the relative path is found.