Met Getparentfoldername
# ASP GetParentFolderName Method
* * Complete FileSystemObject Object Reference](#)
* * *
The GetParentFolderName method returns the name of the parent folder of the last component in a specified path.
### Syntax
FileSystemObject.GetParentFolderName(path)
| Parameter | Description |
| --- | --- |
| path | Required. The path to the file or folder for which the parent folder name is to be returned. |
* * *
### Example
Output:
c:winntcursors
* * Complete FileSystemObject Object Reference](#)
YouTip