See Also Applies To
Description
Returns a string containing the extension name for the last component in a path.
Syntax
object.GetExtensionName(path)
The GetExtensionName method syntax has these parts:
Part
Description
object
Required. Always the name of a FileSystemObject.
path
Required. The path specification for the component whose extension name is to be returned.
Remarks
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.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js338.htm,
2KB, , updated: 1997年9月30日 04:44, local time: 2025年9月19日 13:54,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://massmind.org/techref/inet/iis/jscript/htm/js338.htm"> GetExtensionName Method</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.