Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#3841392 - 09/24/13 07:39 PM Windows Q: Is there anyway to determine which folders are empty?  
Joined: May 2002
Posts: 15,158
No Name Offline
Veteran
No Name  Offline
Veteran

Joined: May 2002
Posts: 15,158
My folder structure for my music collection is a total mess. There are tons of residual folders leftover from where I deleted duplicate MP3 files using Media Monkey (the app I use to manage and play my music collection). Apparently MM deletes the MP3 but not the folder it is housed in. Bummer.

Is there a way within Windows, or an app I can install, that will enable me to determine which folders are empty so I can mass delete them. It would take weeks to go through each individually. And listing them by Size in Windows Detail view is useless, since that doesn't seem to work at all for my purposes.

Thanks.


Mobo ASUS MAXIMUS IV EXTREME (REV 3.0)
Memory CORSAIR XMS3 8GB DDR3
GPU 2 EVGA 680 FTW 4GB
CPU Intel Core i7-2600K Sandy Bridge 3.4GHz (3.8GHz)
Drives 2 HITACHI Deskstar 3TB 2 Crucial 256 GB SSD Displays 3 HP ZR30w 30" monitors
UPS Cyberpower PP2200SW
PSU Antec High Current Pro HCP-1200 1200W
Case COOLER MASTER CM Storm Trooper
Drive LITE-ON Black 12X Blu-ray
CPU cooler Noctua 6 Dual Heatpipe
Fans COOLER MASTER SickleFlow 120
OS Windows 7 Premium
Inline advert (2nd and 3rd post)

#3841395 - 09/24/13 07:59 PM Re: Windows Q: Is there anyway to determine which folders are empty? [Re: No Name]  
Joined: Nov 2004
Posts: 17,632
SkateZilla Offline
Skate Zilla Graphics
SkateZilla  Offline
Skate Zilla Graphics
Veteran

Joined: Nov 2004
Posts: 17,632
Virginia Beach, VA
use explorer.exe and the 2 pane view and go down folder by folder on the left pane, if it's empty, hit the delete button.


HAF922, Corsair RM850, ASRock Fata1ity 990FX Pro,
Modified Corsair H100, AMD FX8350 @ 5.31GHz, 16GB G.SKILL@DDR2133,
2x R7970 Lightnings, +1 HD7950 @ 1.1/6.0GHz, Creative XFi Fata1ity Platinum Champ.,
3x ASUS VS248HP + Hanns�G HZ201HPB + Acer AL2002 (5760x1080+1600x900+1680x1050), Oculus Rift CV
CH Fighterstick, Pro Throt., Pro Pedals, TM Warthog & MFDs, Fanatec CSR Wheel/Shifter, Elite Pedals
Intensity Pro 10-Bit, TrackIR 4 Pro, WD Black 1.5TB, WD Black 640GB, Samsung 850 500GB, My Book 4TB
#3841427 - 09/24/13 10:11 PM Re: Windows Q: Is there anyway to determine which folders are empty? [Re: No Name]  
Joined: Nov 2004
Posts: 19,794
adlabs6 Offline
Veteran
adlabs6  Offline
Veteran

Joined: Nov 2004
Posts: 19,794
Tracy Island
I use Explorer++, and hovering on a folder gives a brief tooltip of the of the contents. Empty folders are easy to find that way.


WARNING: This post contains opinions produced in a facility which also occasionally processes fact products.
#3841451 - 09/24/13 11:08 PM Re: Windows Q: Is there anyway to determine which folders are empty? [Re: No Name]  
Joined: May 2002
Posts: 15,158
No Name Offline
Veteran
No Name  Offline
Veteran

Joined: May 2002
Posts: 15,158
Skate- I investigated how to enable 2-pane view and found instructions that are likely pre-Windows 7, since what they stated and what I saw in my Control Panel>Folders Options dialog didn't match. Could you explain how I can enable Two-pane view by default? Thanks.

Also, I have 25,000+ folders and really don't want to have to investigate each one. I am hoping I can arrange them all say by size and get an accurate representation of folder size. Obviously those that are really small will clearly not have any MP3s in them. That will allow for an easy mass deletion.

Last edited by peppergomez; 09/24/13 11:16 PM.

Mobo ASUS MAXIMUS IV EXTREME (REV 3.0)
Memory CORSAIR XMS3 8GB DDR3
GPU 2 EVGA 680 FTW 4GB
CPU Intel Core i7-2600K Sandy Bridge 3.4GHz (3.8GHz)
Drives 2 HITACHI Deskstar 3TB 2 Crucial 256 GB SSD Displays 3 HP ZR30w 30" monitors
UPS Cyberpower PP2200SW
PSU Antec High Current Pro HCP-1200 1200W
Case COOLER MASTER CM Storm Trooper
Drive LITE-ON Black 12X Blu-ray
CPU cooler Noctua 6 Dual Heatpipe
Fans COOLER MASTER SickleFlow 120
OS Windows 7 Premium
#3841539 - 09/25/13 04:43 AM Re: Windows Q: Is there anyway to determine which folders are empty? [Re: No Name]  
Joined: Feb 2007
Posts: 8,677
kludger Offline
Hotshot
kludger  Offline
Hotshot

Joined: Feb 2007
Posts: 8,677
SE Pennsylvania, USA
I use two free utils, Treesize and WinDirStat to find dirs by size.


i7-7700k@4.5ghz, GTX1080Ti,BenQ XL2420G-g-sync,Oculus Rift
#3841715 - 09/25/13 04:38 PM Re: Windows Q: Is there anyway to determine which folders are empty? [Re: No Name]  
Joined: May 2002
Posts: 15,158
No Name Offline
Veteran
No Name  Offline
Veteran

Joined: May 2002
Posts: 15,158
Thx, will try those


Mobo ASUS MAXIMUS IV EXTREME (REV 3.0)
Memory CORSAIR XMS3 8GB DDR3
GPU 2 EVGA 680 FTW 4GB
CPU Intel Core i7-2600K Sandy Bridge 3.4GHz (3.8GHz)
Drives 2 HITACHI Deskstar 3TB 2 Crucial 256 GB SSD Displays 3 HP ZR30w 30" monitors
UPS Cyberpower PP2200SW
PSU Antec High Current Pro HCP-1200 1200W
Case COOLER MASTER CM Storm Trooper
Drive LITE-ON Black 12X Blu-ray
CPU cooler Noctua 6 Dual Heatpipe
Fans COOLER MASTER SickleFlow 120
OS Windows 7 Premium
#3841935 - 09/26/13 02:33 AM Re: Windows Q: Is there anyway to determine which folders are empty? [Re: No Name]  
Joined: Jan 2011
Posts: 1,527
WileECoyote Offline
Member
WileECoyote  Offline
Member

Joined: Jan 2011
Posts: 1,527
Argentina
Nothing can be faster than typing this in the command line:

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

(you should see a lot of "directory not empty" error messages)

Be sure to be in the root directory from which you want to do the cleaning or you're doomed.

PS: I wouldn't use it if I didn't know what I am doing, though. But, just offering another option. smile


When you're feeling sad, just remember that somewhere in the world, there's someone pushing a door that says "pull".

Moderated by  RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Carnival Cruise Ship Fire....... Again
by F4UDash4. 03/26/24 05:58 PM
Baltimore Bridge Collapse
by F4UDash4. 03/26/24 05:51 PM
The Oldest WWII Veterans
by F4UDash4. 03/24/24 09:21 PM
They got fired after this.
by Wigean. 03/20/24 08:19 PM
Grown ups joke time
by NoFlyBoy. 03/18/24 10:34 PM
Anyone Heard from Nimits?
by F4UDash4. 03/18/24 10:01 PM
RIP Gemini/Apollo astronaut Tom Stafford
by semmern. 03/18/24 02:14 PM
10 years after 3/8/2014
by NoFlyBoy. 03/17/24 10:25 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0