I don't want to delete them, just find them.

Displaying them graphically, as a tree, or a list is enough.

4 Answers 4


I found the simplest answer here - built in to Windows.

If you do want to delete all the empty folders only, go to Computer and at the top right click on search. Click on kind and Select folder, now click again on search and click on size, select 0 and click on search.

That worked for me.

  1. Install Python selecting the option to add it to your path
  2. Open a command prompt
  3. cd to your starting point
  4. type: python
  5. type in the following, (indenting is important):
import os
for (root, dirs, files) in os.walk('.'):
    if len(dirs)+len(files) == 0:
        print (root)

You will get the list starting from where you are.

  • The above is free, gratis & open source
  • It will work on just about any platform
  • Note that if you wish to start from a specific directory you an by changing os.walk('.') to os.walk(r'C:\Some\Dir') the r is important if you would like to use \ rather than /
  • 1
    Lols - I never thought of coding it myself :-)
    – Mawg
    Sep 4, 2016 at 12:10

You can use Ffind Ext.

  1. Type: d
  2. Empty

Find empty directories - Ffind Ext


There's a tool with the self-explanatory name Remove Empty Directories.

main screen

  • Please read questions carefully. The original question clearly states that the OP doesn't want to delete those folders. Nov 28, 2016 at 0:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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