Utilities.ExpandFileName Method

Applies to TestComplete 15.70, last modified on December 17, 2024
This method is obsolete. See the Remarks section below.

Description

The Utilities.ExpandFileName method converts the given relative file name into a fully qualified path name. This function does not support the UNC (Universal Naming Convention) format, that is, it does not support file names that start with a network resource rather than with a drive letter. To expand a UNC file name, use the ExpandUNCFileName method.

Declaration

Utilities.ExpandFileName(FileName)

FileName [in]    Required    String    
Result String

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

FileName

Specifies the file name that should be converted into a fully qualified path name.

Result Value

A string that holds the fully qualified path name of the specified file.

Remarks

This method is obsolete. It is supported for backward compatibility only. To convert a relative file name to a fully-qualified one, use the aqFileSystem.ExpandFileName method.

See Also

ExpandFileName Method
ExpandUNCFileName Method
GetRelativePath Method
GetFileFolder Method
Path Property
GetFileName Method
Name Property

Highlight search results