Utilities.ExtractShortPathName Method

Applies to TestComplete 14.0, last modified on January 23, 2019
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

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

Highlight search results