Hi,
I am getting VBScript runtime error: Path not found error while I was running the VB Script Monitoring to monitor a Large Folder. When I have tried the script on Orion Server it is working fine also on few remote servers. Can someone take a look if i had missed something.
Script Argument: \\<Serverhostname>\<Drive>$\<FolderName>
Dim folderPath03,fs03,folder03
folderPath03 = WScript.Arguments(0)
Set fs03 = WScript.CreateObject ("Scripting.FileSystemObject")
Set folder03 = fs03.GetFolder(folderPath03)
WScript.Echo "Message: Folder " & folderPath03 & " is " & folder03.Size & " bytes large"
WScript.Echo "Statistic: " & folder03.Size
Thanks,
Ben