Met Getdrivename
# ASP GetDriveName Method
* * Complete FileSystemObject Object Reference Manual](#)
* * *
The GetDriveName method returns a string containing the name of the drive for a specified path.
### Syntax
FileSystemObject.GetDriveName(path)
| Parameter | Description |
| --- | --- |
| path | Required. The path for which to return the drive name. |
### Example
Output:
c:
* * Complete FileSystemObject Object Reference Manual](#)
YouTip