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
%> |
文章作者
Nuclear'Atk
上次更新
2010-09-15
许可协议
Nuclear'Atk(核攻击)网络安全实验室版权所有,转载请注明出处。