< Complete Drive Object Reference
The DriveLetter property returns one uppercase letter that identifies the local drive or a network share.
Syntax
DriveObject.DriveLetter
Example
<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("The drive letter is: " & d.driveletter)
set d=nothing
set fs=nothing
%>
Output:
The drive letter is: C
< Complete Drive Object Reference