Utilities.ExtractFileDir Method

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

Description

The Utilities.ExtractFileDir method extracts the drive and directory parts from the value assigned to the FileName parameter.

Declaration

Utilities.ExtractFileDir(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 from which the drive and directory parts should be extracted.

Result Value

A string that holds the drive and directory parts extracted from the specified file name.

Remarks

This method is obsolete. It is supported for backward compatibility only. To extract the drive and directory parts from a file name, use the aqFileSystem.GetFileFolder method.

See Also

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

Highlight search results