[Webinar] Learn how to a build a cloud-first strategyRegister Now


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

Posted on 2006-04-14
Medium Priority
Last Modified: 2010-04-13
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
Question by:STEVEO5
LVL 54

Accepted Solution

b0lsc0tt earned 1000 total points
ID: 16457888

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.

LVL 97

Expert Comment

by:Lee W, MVP
ID: 16457919
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 /?
LVL 78

Expert Comment

by:Rob Williams
ID: 16458697
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.

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Sometimes MS breaks things just for fun... In Access 2003, only the maximum allowable SQL string length could cause problems as you built a recordset. Now, when using string data in a WHERE clause, the 'identifier' maximum is 128 characters. So, …
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month20 days, 14 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question