Remove empty folder

A problem using LiberKey ?
6 posts • Page 1 of 1

Remove empty folder

Postby jorgedaniel » 20 September 2011, 18:39

Hello

I´m removing several software.But sometimes I have empty folders.Is the a way to remove empty folders?

Best Regards
Jorge Guimarães
jorgedaniel
Junior Boarder
Junior Boarder
 
Posts: 44
Joined: 13 April 2010, 09:56
Location: Porto, Portugal

Re: Remove empty folder

Postby Dji » 20 September 2011, 21:53

I'm not sure there is a software doing that in the catalog but the following one seems to do it:
http://www.jonasjohn.de/lab/red.htm

Edit: this is possible also to simply use a batch file (name it delemptytree.cmd) with the following content:
Code: Select all
for /f "usebackq" %%d in (`"dir /ad/b/s | sort /R"`) do rd "%%d"


googled
"Si boire des coups, aller au concert ou au match, ça devient un combat
Alors tremblez, terroristes !
Parce qu'on est surentraînés !"
@glecalot
User avatar
Dji
Administrator
Administrator
 
Posts: 3724
Joined: 28 November 2007, 09:57
Location: Quelque part entre les ombres

Re: Remove empty folder

Postby Laurentxp » 21 September 2011, 08:20

User avatar
Laurentxp
Moderator
Moderator
 
Posts: 2291
Joined: 27 March 2007, 23:37

Re: Remove empty folder

Postby Dji » 21 September 2011, 13:17

Lol, thanks for the LBKA link, laurentxp :lol:
"Si boire des coups, aller au concert ou au match, ça devient un combat
Alors tremblez, terroristes !
Parce qu'on est surentraînés !"
@glecalot
User avatar
Dji
Administrator
Administrator
 
Posts: 3724
Joined: 28 November 2007, 09:57
Location: Quelque part entre les ombres

Re: Remove empty folder

Postby jorgedaniel » 22 September 2011, 10:07

jorgedaniel wrote:Hello

I´m removing several software.But sometimes I have empty folders.Is the a way to remove empty folders?

Best Regards
Jorge Guimarães

I mean from Liberkey menu.

Best Regards
Jorge Guimarães
jorgedaniel
Junior Boarder
Junior Boarder
 
Posts: 44
Joined: 13 April 2010, 09:56
Location: Porto, Portugal

Re: Remove empty folder

Postby Dji » 22 September 2011, 12:58

There is no automatic way to do it, but you can manually:
- right click over a category (what you spell "folder") , then delete

If "delete" is not enabled, you have to enable menu modifications:
2011-09-22_125806.png
2011-09-22_125806.png (17.82 KiB) Viewed 15638 times

2011-09-22_125944.png
2011-09-22_125944.png (20.64 KiB) Viewed 15638 times
"Si boire des coups, aller au concert ou au match, ça devient un combat
Alors tremblez, terroristes !
Parce qu'on est surentraînés !"
@glecalot
User avatar
Dji
Administrator
Administrator
 
Posts: 3724
Joined: 28 November 2007, 09:57
Location: Quelque part entre les ombres


6 posts • Page 1 of 1

Return to Support

Who is online

Users browsing this forum: No registered users and 572 guests

cron