Page 1 of 1

Empty Recycle Bin button

Posted: Mon Dec 23, 2013 11:24 pm
by mel
I used to use CubicExplorer until I found Explorer++. I like Explorer++ better but there's some things I miss, such as an 'Empty Recycle Bin' button in the toolbar. I had not thought I would use such a button, but I soon found it comes in handy.

Re: Empty Recycle Bin button

Posted: Sat Jan 25, 2014 11:51 am
by tallguy297
If you are using CCleaner then you can create an application toolbar shortcut.
Command line: "C:\Program Files\CCleaner\CCleaner64.exe" /AUTO for 64-bit version.
"C:\Program Files\CCleaner\CCleaner.exe" /AUTO for 32-bit version.
CCleaner.jpg
CCleaner.jpg (28.63 KiB) Viewed 10882 times
Alternative and simpler method is to create an application icon toolbar shortcut "Empty Recycle Bin"
Command line: %comspec% /c rd /s /q %systemdrive%\$Recycle.bin
Empty.jpg
Empty.jpg (29.38 KiB) Viewed 10880 times

Re: Empty Recycle Bin button

Posted: Sun Apr 04, 2021 4:00 pm
by pmshah
Thank you very much. Even after 25 years of experience MS's version of explorer sucks so bad it keeps crashing and hanging all the time. Quite often the blue disk keeps rotating without getting anywhere. I had to revert to it just for emptying the Recycle bin. Incidentally your solution does work but only clears the Recycle.bin in the system drive. So I created a few more buttons and made the commands as follows....

%comspec% /c rd /s /q D:\$Recycle.bin
%comspec% /c rd /s /q E:\$Recycle.bin
%comspec% /c rd /s /q F:\$Recycle.bin

Works perfectly.

Thank you again

Will be attempting to create a single BTM batch file (Take Command) to clear at once every logical drive on my PC.