Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I find the ten largest files on the D: drive in Windows 7? Any quick commands?

share|improve this question
    
File size on disk. –  George2 Jun 24 '10 at 5:10
add comment

6 Answers

up vote 28 down vote accepted

The following in PowerShell should suffice:

Get-ChildItem -Recurse D:\ -ErrorAction SilentlyContinue |
    Sort -Descending Length |
    Select -First 10

or shorter:

gci -r D:\ -ea 0 | sort Length -desc | select -f 10
share|improve this answer
    
Thanks, question answered! –  George2 Jun 24 '10 at 5:19
    
very nice! especially the shorter version –  Shevek Jun 24 '10 at 10:03
    
Side note: I explicitly set ErrorAction for the Get-ChildItem so that any errors due to insufficient rights are suppressed. Otherwise there'd be a bunch of red lines before the actual output. Still, I think it nicely shows how easy to use PowerShell can be :-) –  Јοеу Jun 24 '10 at 12:04
add comment

Try WinDirStat

WinDirStat reads the whole directory tree once and then presents it in three useful views:

  • The directory list, which resembles the tree view of the Windows Explorer but is sorted by file/subtree size,
  • The treemap, which shows the whole contents of the directory tree straight away,
  • The extension list, which serves as a legend and shows statistics about the file types.

alt text

share|improve this answer
add comment

JDiskReport Works a lot like WinDirStat, but presents a friendlier pie chart. It also supports listing the "Top 100" in several categories, including size. The only caveat is that it requires Java, but if you already have Java, I really recommend it.

share|improve this answer
add comment

SequoiaView can also provide the same functionality as WinDirStat.

share|improve this answer
add comment

A less graphic tool is "TreeSize Free":

TreeSize Free Screenshot

It's bigger brother, "TreeSize Professional", can however do graphics:

TreeSize Professional Screenshot

share|improve this answer
add comment

I recommend the FREE Folder Size by MindGems. It provides even better results than the commercial tools listed above and is not cluttered with nonsense data. The most important things for me are the accurate results that it provides, while I can not say that for other similar tools.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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