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
%>

Output:

The total size in bytes is: 4293563392

❮ 전체 드라이브 개체 참조