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

Posted on 2006-04-14
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


    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 95

    Expert Comment

    by:Lee W, MVP
    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 77

    Expert Comment

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

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    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…
    Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now