<html> <body> <% dim fs,d set fs=Server.CreateObject("Scripting.FileSystemObject") set d=fs.GetDrive("c:") Response.Write("根文件是:" & d.RootFolder) set d=nothing set fs=nothing %> </body> </html>
<% dim fs,d set fs=Server.CreateObject("Scripting.FileSystemObject") set d=fs.GetDrive("c:") Response.Write("根文件是:" & d.RootFolder) set d=nothing set fs=nothing %>