源代码:
<% dim fs, d, n set fs=Server.CreateObject("Scripting.FileSystemObject") set d=fs.GetDrive("c:") Response.Write("The file system is: " & d.FileSystem) set d=nothing set fs=nothing %>
运行结果:
<% dim fs, d, n set fs=Server.CreateObject("Scripting.FileSystemObject") set d=fs.GetDrive("c:") Response.Write("The file system is: " & d.FileSystem) set d=nothing set fs=nothing %>