FileSystem.GetDriveName() (Method)

A method to obtain the drive name of a drive within the file system.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyFileSystem.GetDriveName(aLetter)
Argument list:aLetterThe letter of a drive to examine for its name

Given a file path, the drive name within it is extracted and returned.