Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 30 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
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 :-) – Joey Jun 24 '10 at 12:04

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

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

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
I've used this before. It's very efficient... – Immanuel Apr 28 '15 at 17:21

SequoiaView can also provide the same functionality as WinDirStat.

share|improve this answer

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .