<%
   Set sfo=Server.CreateObject("Scripting.FileSystemObject")
   Set df=sfo.GetDrive("C")
   
   Response.Write("磁盘上可用空间为：" & df.AvailableSpace  & "字节" & "<br>")
   Response.Write("磁盘的符号为：" & df.DriveLetter & "<br>")
   Response.Write("磁盘的类型（1-移动 2-固定）：" & df.DriveType & "<br>")
   Response.Write("磁盘上的文件系统结构：" & df.FileSystem & "<br>")
   Response.Write("磁盘的剩余空间" & df.FreeSpace & "<br>" & "字节")
   Response.Write("驱动器的路径：" & df.Path & "<br>")
   Response.Write("驱动器的根目录" & df.RootFolder & "<br>")
   Response.Write("驱动器的序列号：" & df.SerialNumber & "<br>")
   Response.Write("驱动器容量为：" & df.TotalSize & "字节" & "<br>")
   Response.Write("驱动器的卷标：" & df.VolumeName)
%>

