Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Folder sizes????

Status
Not open for further replies.

galli

IS-IT--Management
Apr 16, 2004
21
NZ
Hi

I am trying to get folder sizes from windows explorer into a csv file, and I do not have a clue about VBA is this possible and if so does anyone have a script that could help me out here.

Ben
 
And what have you so far ?
Referencing Microsoft Scripting Runtime in your VBA project you consider use FileSystemObject.

Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
Just an update,

I discovered the answer to my question I created a file with the machine names and saved it to the C:\Temp folder then I used the following script from a Command line:

for /f %m in (C:\Temp\MachineNames.txt) do diruse /,M \\%m\DIRECTORYNAME >> c:\temp\Dump.txt

Ben
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top