Hi!
I'd like to know if it's possible to access the FileSystemObject on a remote
machine. In this case to check the remainging space on the HDs of my file
server.
Right now I can only access the local machine with:
Set objFileSystem = CreateObject("Scripting.FileSystemObject")
For Each objDrive In objFileSystem.Drives
If objDrive.DriveType = 2 Then 'Local Disc
WScript.Echo objDrive.Path
WScript.Echo "Size: " & objDrive.TotalSize
WScript.Echo "Free: " & objDrive.FreeSpace
...
End If
Next
And check the directory sizes with:
Set objFolder = objFileSystem.GetFolder(strPath)
WScript.Echo strPath & " " & objFolder.Size
Is it at all possible to do this on a remote mashine and if so, how?
Thanks a million!
/Sofia Engvall
AB Ångpanneföreningen