Need a report to show sizes of all files in a folder

Ive got a folder on a server that contains all the users in my domains home folders.
What I want to do is create a report that shows the size of each of these users folders.
Basically a list showing folder name and size.

I know there are third party applications that can do this but can it be done by windows or scripting?

Thanks a million
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

b0lsc0ttIT ManagerCommented:

Diruse may meet your needs.  It is available as a seperate download from Microsoft site or may also be included on the Resource CD.  It is a command line utility with a number of options to customize the information.  I am not sure that it is exactly what you want but I have been pleased with it.

Let me know if you need more info about it or have a hard time finding it.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Lee W, MVPTechnology and Business Process AdvisorCommented:
As b0lsc0tt suggests, DirUse is probably the best tool for this:

I usually run the command like this:
diruse d:\users /* /, /m

For more information on the diruse switches, download it and type diruse /?
Rob WilliamsCommented:
I know you are looking for a script, but thought I would throw this in.....
After playing with some basic scripting and getting frustrated I found a little utility called Size Explorer Lite. It will analyze a folder or drive, and locate the size of all folders, sub-folders and files. You can then simply and quickly sort by file size, folder size, file type, or date. Very fast for locating who or what is occupying large amounts of drive space. For $16 I found it was well worth the time saving. They have a free demo version if interested.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.