Previous PageNext Page

7.17.15 ShortName Property

Returns the short name used by programs that require the earlier 8.3 naming convention. This property is not available under UNIX.
 

Syntax

object.ShortName

object
A Folder object.

Remarks

The following code illustrates the use of the ShortName property with a Folder object:
 

function ShowShortName(filespec)

{

var fs, f, s;

fs = new ActiveXObject("Scripting.FileSystemObject");

f = fs.GetFolder(filespec);

s = "The short name for " + "" + f.Name;

s += "" + "<br>";

s += "is: " + "" + f.ShortName + "";

Response.Write(s);

}


Copyright © 2000 Chili!Soft

Previous PageTop Of PageNext Page