How do I find all the empty folders and delete them.

Anonymous
2011-04-03T17:52:58+00:00

My music has a bunch of folders that are empty but it will take forever to look at every single one.  I want to search by size or someway that will make it easier to find and delete

Windows for home | Previous Windows versions | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2011-05-15T16:05:51+00:00

Hello !

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.

This should list all the empty folders

Regards

Was this answer helpful?

800+ people found this answer helpful.
0 comments No comments

55 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-08-03T15:53:25+00:00

    Hello !

    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.

    This should list all the empty folders

    Regards

    For some reason this doesn't seem to work.  It's only finding compressed folders.  I tried it on the root of a non-system drive I have installed, which contains several folders of various sizes.  No matter what size I defined for type=folder, it only found compressed folders; it never returned any of the normal folders that exist on that drive.

    Any suggestions as to why this might be?

    Thanks,

    KC

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2015-07-23T03:52:30+00:00

    Hello !

    I can go to Computer and at the top right click on search

    but there no «folder» option to click on.

    I get only «size» or «date».

    Is there some VBS one can use ?

    thanks

    rg

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2015-08-08T22:26:46+00:00

    Ok, so I Went back and downloaded the app, Remove Empty Directories (RED), from SourceForge suggested by Sohail.Khan911 on May 31, 2014.

    It worked great and located the 401 empty folders that File manager could not.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2015-07-25T23:29:53+00:00

    the best way to do this is

    for /f "usebackq" %%d in ("dir /ad/b/s | sort /R") do rd "%%d"

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments