Possible Duplicate:
Visualize the file system usage on Windows

Is there a way to show the folders using the most disk space in windows 7, from most disk space to least disk space? Or get a list of the top X folders? I'm sure there is a way with the Windows command prompt by doing a recursive list of folders and directing it to a file.. I guess I'll see if I can answer my own question. If you do before I do, I'll give you a point. :-)

link|improve this question

1  
I actually don't think that this was a duplicate. A List and a Display are two different things. While they can be used in similar ways, windirstat is completely useless for (for instance) running a script against those directories. – gWaldo Aug 4 '11 at 12:16
feedback

migrated from serverfault.com Aug 4 '11 at 4:53

This question came from our site for system administrators and desktop support professionals.

closed as exact duplicate by Tom Wijsman, DMA57361 Aug 4 '11 at 10:54

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

3 Answers

up vote 11 down vote accepted

WinDirStat is a F/OSS application that does a good job showing what's taking up your disk space.

link|improve this answer
3  
+1 - Beat me to it! – gWaldo Aug 4 '11 at 3:04
I'll still give you two points.. I won't be testing this for a few days.. it's low priority. :-) – MacGyver Aug 4 '11 at 3:23
thanks guys for answering this... – MacGyver Aug 26 '11 at 16:19
feedback

I don't have a Windows box handy right now, but try this in Powershell:

Get-ChildItem C:\ -recurse -include | Get-ChildItem  | Where-Object {$_.psiscontainer -eq $true} | Sort-Object length -descending | select -first 20
link|improve this answer
feedback

I have used TreeSize for a long time and love it - you can get it for free from downloads.com (CNET)

I use it to find out how to trim down my hard drive if it is getting bloated

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.