Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript FileSystemObject Object GetExtensionName Method

Returns a string containing the extension name for the last component in a path.

Syntax: JScript FileSystemObject Object GetExtensionName Method

object.GetExtensionName(path)

Arguments: JScript FileSystemObject Object GetExtensionName Method

object

The name of a FileSystemObject. Required.

path

The path specification for the component whose extension name is to be returned. Required.

Remarks: JScript FileSystemObject Object GetExtensionName Method

For network drives, the root directory (\) is considered to be a component.

The GetExtensionName method returns a zero-length string ("") if no component matches the path argument.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.