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) d=nothing 설정 fs=nothing 설정 %>
출력:
바이트 단위 총 크기: 9693563395