File.ShortName (Property)

The DOS 8.3 filename for the file.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyFile.ShortName

In the Windows environment, even though long file names are used from the user's point of view, at the lowest level within the file system some files will still be stored under their old style DOS 8.3 format file names. This property yields the DOS equivalent short file name for a File object.

See also:Folder.ShortName