To view folders (not files) sizewise descending.

Posted on 2006-04-27
Last Modified: 2010-04-13
I have window professional 2000.

Suppose I am standing at folder d:\abc\xyz

In this folder say there are 100 more folders .

I want to view the folders size wise. Folder having greater disk space first.

Standing at a particular folder , Is it possible to view its folders sizewise descending.

Suppose d:\abc\xyz has a folder bcq, then it should calculate the size of bcq and all of its sub folders.
Question by:Mateen
    LVL 48

    Expert Comment

    Hi SandyG,

    only files not folders and thats on your right click menu and view - using explorer anywayz

    LVL 43

    Accepted Solution

    Treesize Pro is the answer I guess.... It wouldn't be impossible to find the total size of each dir & subdirs using dir/s and wrapping that in a FOR loop in a batch file but really... just get Treesize or equivalent!

    LVL 43

    Expert Comment

    by:Steve Knight
    You could do

    dir c:\dirname /s | find /I "File(s)" and then the last number shown is the total size of dir & subdirs.
    You'd need to repeat this for each directory ...

    LVL 12

    Assisted Solution

    Treesize is the correct answer, but there is also a free version.

    This will enumerate all folders on the selected folder and view them sorted by size.
    LVL 43

    Expert Comment

    by:Steve Knight
    Used that one too but didn't have a link with me.  Not as 'nice' as Treesize but does the job.

    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…
    Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
    This video discusses moving either the default database or any database to a new volume.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    746 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

    16 Experts available now in Live!

    Get 1:1 Help Now