【Asp】ASP获取硬盘/磁盘超详细信息/列表

  • A+
所属分类:lcx

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  "
" & Chr(13) & Chr(10)
Next
%>

文章来源于lcx.cc:【Asp】ASP获取硬盘/磁盘超详细信息/列表

相关推荐: Resin viewfile远程文件读取漏洞

Resin viewfile远程文件读取漏洞(未通过审核的同学可以看看) Finger (Save water. Shower with your girlfriend.) | 2014-01-13 12:04 受影响系统: Caucho Technology…

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: