Utilities.ExpandUNCFileName Method

Applies to TestComplete 14.30, last modified on November 21, 2019
This method is obsolete. See the Remarks section below.

Description

The Utilities.ExpandUNCFileName method converts the given relative file name into a fully qualified path name. For network files, this function returns a fully qualified path name using the Universal Naming Convention (UNC). This convention suggests that a UNC file name includes the name of the network resource to which the drive is mapped, instead of the drive prefix. For files on local disks, ExpandUNCFileName equals ExpandFileName.

Declaration

Utilities.ExpandUNCFileName(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 into a fully-qualified one, use the aqFileSystem.ExpandUNCFileName method.

See Also

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

Highlight search results