Utilities.ExtractShortPathName Method

Applies to TestComplete 15.62, last modified on March 19, 2024
This method is obsolete. See the Remarks section below.

Description

Use the Utilities.ExtractShortPathName method to convert the specified file name to the short 8.3 form. In this form, long file and folder names are truncated. For instance, "Program Files" is shortened to "Progra~1".

Declaration

Utilities.ExtractShortPathName(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 to be converted to the short form.

Result Value

A string that holds the specified file name converted to the short form.

Remarks

This method is obsolete. It is supported for backward compatibility only. To get a short file name, use the aqFileSystem.GetShortPathName method.

See Also

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

Highlight search results