App下载

demo_totalsize 在线工具

demo_totalsize 在线工具

<html>
<body>

<FONT COLOR=#ff0000><%
Dim fs,d,n
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set d=fs.GetDrive("c:")
n = "Drive: " & d
n = n & "
Total size in bytes: " & d.TotalSize
Response.Write(n)
set d=nothing
set fs=nothing
%></FONT>

</body>
</html>
运行结果