williamfl
asked on
Need a vb script to get folder sizes for many projects on server.
Need a vb script to get folder sizes for many projects on server. Need it to loop through the csv file for folder locations and them produce a csv file with the folder location and the folder size.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The good news we pull the folder locations from a database. So we have the folder direct share locations. So we would like to just do direct targeted folder locations. We are just want get the actual folder size for the trgeted folder. (//testfolder/project1)
The problem we are trying to resolve is we have 1000’s of project folders that grow intermittently some even out of control. The folders are part of an applications repository. So this is not a traditional file store with independent security. The application governs everything.
If we use traditional tools like site scope directory monitors is scans to much information and can days on the folder with millions of files just to get total. If I use a simple VB script just ot get only folder size it just takes minutes. We are planning creating a custom sitescope monitor to just get folder size but until then then just use a basic vbscript to get data for now.
I will try to the above suggestion.
The problem we are trying to resolve is we have 1000’s of project folders that grow intermittently some even out of control. The folders are part of an applications repository. So this is not a traditional file store with independent security. The application governs everything.
If we use traditional tools like site scope directory monitors is scans to much information and can days on the folder with millions of files just to get total. If I use a simple VB script just ot get only folder size it just takes minutes. We are planning creating a custom sitescope monitor to just get folder size but until then then just use a basic vbscript to get data for now.
I will try to the above suggestion.
IE
- Gold
- Real Gold
- Really bright
Would you like the total size of Gold and all subdirectories
Or would you like each folder tallied individually?