ASP TotalSizePropiedad
Referencia completa del objeto Drive
La propiedad TotalSize devuelve el número total de bytes de la unidad o recurso compartido de red especificado.
Sintaxis
DriveObject.TotalSize
Ejemplo
<%
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
%>
Salida:
The total size in bytes is: 4293563392
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
%>
Salida:
The total size in bytes is: 4293563392
Referencia completa del objeto Drive Otras extensiones