ASP获取硬盘/磁盘超详细信息/列表:

<%
SET F=CreateObject("Scripting.FileSystemObject")
For Each D in F.Drives
Response.Write D.DriveLetter & chr(9) '盘符
Response.Write D.Path & chr(9) '磁盘路径
Response.Write D.VolumeName & chr(9) '卷标
Response.Write D.TotalSize & chr(9) '磁盘容量
Response.Write D.FreeSpace & chr(9) '剩余大小
Response.Write D.DriveType & chr(9) '磁盘类型
Response.Write D.FileSystem & chr(9) '磁盘格式
Response.Write D.SerialNumber & chr(9) '磁盘系列号
Response.Write D.IsReady & chr(9) '是否可用
Response.Write  "<br>" & Chr(13) & Chr(10)
Next
%>