number of filesFor Windows do this:

  • Go to the command-line: Start->Run, type “cmd”, and press Enter
  • Type the following, press Enter, then wait until it’s finished:

    dir /s /a-d c:\

For the non-technical folk, “dir” lists the directory’s contents. “/s” means include sub-directories, and “/a-d” means exclude directories from the listing.

You Apple and Linux people can post how to do it in the Comments section.

Post your total from all your hard-drives.

Here’s my work laptop. I’ll post my home computer’s tonight.

Total Files Listed:
339875 File(s) 33,966,350,671 bytes


  1. How long dose it usualy take to get ur results? my windows 7 goes on and on it seems it will never stop

  2. Is the he.. or his…me or the other fella? Hey when the new popcorn bags arrive I will send some out…with popcorn in them…

  3. :: /S to include files in all directories beneath:: /A-D to exclude directories:: /W to reduce the amount of data from dir@DIR C:\ /S /A-D /W | sed -n -e "/Total Files Listed/,/free/p"

  4. :: /S to include files in all directories beneath
    :: /A-D to exclude directories
    :: /W to reduce the amount of data from dir
    @DIR C:\ /S /A-D /W | sed -n -e "/Total Files Listed/,/free/p"

  5. it took less than a minute for my256G drive. However I ran this while I was running a virus scan, And my virus scan, yet not having completed, had already counted 2X the amount of files totalled by this method so obviously it is far from accurate.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.