A
adiel_g
Does anyone know how to check diskspace of a network drive? The below
code works only for local drives.
The following returns an error "Object must be a root directory("C:\")
or a drive letter ("C"):
Dim di As System.IO.DriveInfo = New System.IO.DriveInfo("\\SERVER01\C
$")
Dim totalspace As Long = di.TotalSize
Thanks Before Hand,
Adiel
code works only for local drives.
The following returns an error "Object must be a root directory("C:\")
or a drive letter ("C"):
Dim di As System.IO.DriveInfo = New System.IO.DriveInfo("\\SERVER01\C
$")
Dim totalspace As Long = di.TotalSize
Thanks Before Hand,
Adiel