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
    2011-05-15T15:31:42+00:00

    Hi,

    You can try running disk cleanup and check if it helps:

    http://windows.microsoft.com/en-US/windows-vista/Delete-files-using-Disk-Cleanup

    If that doesn’t help, then you might have to delete it manually since Microsoft does not have any too to delete only empty folders.

    Hope it helps.

    Was this answer helpful?

    10 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2014-03-11T19:58:44+00:00

    Delete Empty Folders and Subfolders

    Open the CMD: 

    1. Hold Windows key and press R
    2. Navigate to the C:\ directory, type "cd C:" without quotes then press enter.

    Should look like this C:>

    1. Type or copy and paste this command where your prompt is blinking:

    DIR /AD/B/S | SORT /R > EMPTIES.BAT   

    1. then press enter and wait,,, DONE

    You can copy this into a notepad text file and save it to use whenever needed.

    You'd be amazed at how many empty folders are on your HDD causing windows to 

    slow down at boot times and searches!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2014-03-22T05:06:57+00:00

    When I do this I get the message access denied.

    Was this answer helpful?

    8 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2014-03-22T19:16:55+00:00

    Sorry Lorraine, try it this way instead.

    1. Left click the Start button
    2. type cmd at the bottom where your cursor blinks
    3. when the cmd short cut appears
    4. right click the cmd and right click run as Administrator

    The cmd should pop up, now start with step 2 in previous message.

    I run my pc's and laptops as Core Administrator so I forget that some pc's users don't have the Administrators rights.

    Try that and you should make it work.

    Best regards

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments