当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP RootFolder 属性
The RootFolder property returns a Folder object that represents the root folder of a specified drive.
ASP RootFolder属性的作用是返回指定驱动器的根目录。
DriveObject.RootFolder |
<% 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: |