See Also Applies To
Description
Returns a string containing the name of the parent folder of the last component in a specified path.
Syntax
object.GetParentFolderName(path)
The GetParentFolderName method syntax has these parts:
Part
Description
object
Required. Always the name of a FileSystemObject.
path
Required. The path specification for the component whose parent folder name is to be returned.
Remarks
The GetParentFolderName method returns a zero-length string ("") if there is no parent folder for the component specified in the path argument.
Note The GetParentFolderName 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/js350.htm,
3KB, , updated: 1997年9月30日 04:44, local time: 2025年9月21日 13:34,
©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/js350.htm"> GetParentFolderName Method</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to massmind.org!
.