ASP TotalSize ÊôÐÔ
¶¨ÒåºÍÓ÷¨
TotalSize ÊôÐÔ·µ»ØÖ¸¶¨Çý¶¯Æ÷»òÍøÂç¹²ÏíµÄ×Ü×Ö½ÚÊý¡£
Óï·¨£º
DriveObject.TotalSize
Àý×Ó
<%
dim fs,d
set fs=Server.CreateObject("Scripting.FileSystemObject")
set d=fs.GetDrive("c:")
Response.Write("The total size in bytes is: " & d.TotalSize
)
set d=nothing
set fs=nothing
%>
Êä³ö£º
The total size in bytes is: 9693563395