Language Reference |
See Also Applies To
Returns the last component of specified path that is not part of the drive specification.
The GetFileName method syntax has these parts:
Part Description object Required. Always the name of a FileSystemObject. pathspec Required. The path (absolute or relative) to a specific file.
The GetFileName method returns a zero-length string ("") if pathspec does not end with the named component.
Note The GetFileName method works only on the provided path string. It does not attempt to resolve the path, nor does it check for the existence of the specified path.
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js344.htm, 2KB, , updated: 1997/9/30 04:44, local time: 2022/5/16 10:55,
|©2022 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://www.massmind.org/techref/inet/iis/jscript/htm/js344.htm"> GetFileName Method</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to www.massmind.org!