I'm trying to get the folder size of a folder that is over 2.5TB's large. I'm getting the following error - "The File or Directory is Corrupted and Unreadable", yet I can access the folder fine from windows.
The folder is not located on my computer if that means anything, its located on my companies server.
Here's my code
Const dirPath = "\\CSSFile-01.epicgames.net\Orion"
Set FSO = CreateObject("Scripting.FileSystemObject")
dirSize = FSO.GetFolder(dirPath).Size
There's a whole bunch more code but the dirSize is the line i get the error on. Can vbscript just not run scripts on folders that long?