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