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: Oldest
  1. 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
  2. Anonymous
    2015-07-26T20:06:07+00:00

    English please ... or something less terse. Thank you.

    Was this answer helpful?

    6 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2015-08-08T22:07:31+00:00

    I am using the latest File Manager in Windows 10 and it does not work.  Come on Microsoft!

    Under search Tools I can choose the search options for Kind as "Folders" and then select Size equals "Empty" (kind:=folder size:empty ).  The results are "No items match your search."  I know there are dozens of items that match my criteria and at some level Windows knows it, because if I pass my cursor over the folders it displays "folder is empty."

    Very Frustrating!

    Was this answer helpful?

    40+ people found this answer helpful.
    0 comments No comments
  4. 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