Utilities.ExtractRelativePath Method

Applies to TestComplete 15.63, last modified on April 23, 2024
This method is obsolete. See the Remarks section below.

Description

Use the Utilities.ExtractRelativePath method to convert a fully qualified path name into a relative path name.

Declaration

Utilities.ExtractRelativePath(BaseName, DestName)

BaseName [in]    Required    String    
DestName [in]    Required    String    
Result String

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

BaseName

Specifies the file name (including the path) to be converted. BaseName may or may not include a file name, but it must include the final path delimiter.

DestName

Holds the fully qualified name of the directory to which the resulting path name should be relative.

Result Value

A string that holds the path to the file or directory specified by the BaseName parameter relative to DestName.

Remarks

This method is obsolete. It is supported for backward compatibility only. To convert a fully-qualified path into a relative one, use the aqFileSystem.GetRelativePath method.

See Also

GetRelativePath Method
GetFileFolder Method
GetFileDrive Method
Drive Property
GetFileFolder Method
Path Property
GetShortPathName Method
GetFileName Method
Name Property
GetFileExtension Method

Highlight search results