ASP TotalSize 属性
❮ 完整 Drive 对象参考
TotalSize 属性返回指定驱动器或网络共享的总大小(以字节为单位)。
语法
DriveObject.TotalSize
示例
<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("总字节大小为: " & d.TotalSize)
set d=nothing
set fs=nothing
%>
输出
总字节大小为: 4293563392
❮ 完整 Drive 对象参考