![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Vista Home Premium 32bit | remove all empty folders I have another problem from a lot of days. ![]() Makings an experiment I made a mistake and I've created a lot of empty folders (several thousands). I'd like to know how I can delete them if they don't contain files. Thanks. |
My System Specs![]() |
| | #2 (permalink) |
| Vista Ultimate 32/64 bit | Re: remove all empty folders I've not tried this software, but you could give it a shot to see if it does what you want... RED ~ jonasjohn.de: remove empty directories (freeware for windows) |
My System Specs![]() |
| | #3 (permalink) |
| Vista Home Premium 32bit | Re: remove all empty folders Wow. It's solved my problem. Great sw. Thank you very much. ![]() However if someone can give me a solution with powershell it would be appreciate. |
My System Specs![]() |
| | #4 (permalink) |
| Vista Ultimate 32/64 bit | Re: remove all empty folders Glad it worked for you. |
My System Specs![]() |
| | #5 (permalink) |
| | Re: remove all empty folders for a powershell solution see: http://www.microsoft.com/technet/scr...pstip0530.mspx Greetings /\/\o\/\/ http://thePowerShellGuy.com "sardinian_guy" wrote: Quote: > > Wow. It's solved my problem. Great sw. Thank you very much. ![]() > However if someone can give me a solution with powershell it would be > appreciate. > > > -- > sardinian_guy > |
My System Specs![]() |
| | #6 (permalink) |
| Vista Home Premium 32bit | Re: remove all empty folders I was sure that it was possible to solve with powershell. Thank you very much and I give you my compliments for your great knowledge. I found your solutions everywhere in the web. |
My System Specs![]() |
| | #7 (permalink) |
| | Re: remove all empty folders # remove empty folders ls <path> -r -fo | ? {$_.psIsContainer} | sort fullName -des | ? {!(ls $_.fullName -fo)} | ri Check out this thread to see why it's better to sort them in descending order http://groups.google.com/group/micro...41347ebae682fb -- Kiron |
My System Specs![]() |
| | #8 (permalink) |
| Vista Home Premium 32bit | Re: remove all empty folders Thanks again, even for the link! |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Remove empty folders in C:\Windows\Temp ?? | Vista General | |||
| file folder icons display non-empty folders as empty | Vista file management | |||
| Remove empty folders | PowerShell | |||
| Can I Permanently Remove Empty Removable Drives? | Vista hardware & devices | |||
| empty folders??? | Vista networking & sharing | |||