ASP RootFolder Property
❮ Complete Drive Object Reference
The RootFolder property returns a Folder object that represents the root folder of a specified drive.
Syntax
DriveObject.RootFolder
Example
<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("The root folder is: " & d.RootFolder)
set d=nothing
set fs=nothing
%>
Output:
The root folder is: C:\
❮ Complete Drive Object Reference