I'm trying to make a icon shortcut of "Empty Recycle Bin" in TC toolbar... My question: Is there a way to do that ?! so with a single click on a shortcut icons to empty recycle bin?.. If yes.. please tell me how.. cos i don't fine the command line in windows (win2k sp4)
THX
Have you tried it?
You get a context menu with this option: "Empty recycle bin". I know it's not a single click but double but I thought it can be helpful.
I meant clicking right button of mouse on the function key button - F8 - if you have turned them on they are at the bottom of TC - below panels and command line.
Yes I finnaly understand what do you mean .. It's not what i was looking for but i found this option verry usefull I think I will use it .. it's much better then others I know.
Thank you!
Aezay wrote:Or this, it's even smaller, so small that Win9x can't run it I think, only NT/XP. Note: Remove the trailing spaces after each line before decoding.
Aezay, exactly how do we do this? I have never done one of these before.
EDIT: I figured it out. I've never done one of these before. It worked great! Woiuld there be a way to maybe add the filenames in the box to show what you are deleteing? Might help in not making a mistake in emptying the recycle bin.
I know that this works when using the FAT32 file system. I'm not sure about NTFS.
Create a new file in your winnt directory called dr.bat (I forget how you create a new file in TC - I just edit an existing small file - erase all the current contents - and save as dr.bat)
Insert the following text:
del c:\recycled\*.* /q /s
del c:\recycled\*.* /q /s /a:s
del c:\recycled\*.* /q /s /a:h
del d:\recycled\*.* /q /s
del d:\recycled\*.* /q /s /a:s
del d:\recycled\*.* /q /s /a:h
del e:\recycled\*.* /q /s
del e:\recycled\*.* /q /s /a:s
del e:\recycled\*.* /q /s /a:h
del f:\recycled\*.* /q /s
del f:\recycled\*.* /q /s /a:s
del f:\recycled\*.* /q /s /a:h
Add or delete any of the above lines so that they correspond to the drive letters whose recycle bin you want to empty.
Save the file.
In TC, go to configuration - button bar.
In the section for command line enter "c:\winnt\dr.bat" without the quotes.
Pick an icon and enter a tooltip.
Create a new file in your winnt directory called dr.bat (I forget how you create a new file in TC - I just edit an existing small file - erase all the current contents - and save as dr.bat)
SHIFT-F4 will do it
And the recycle prog by Petergus is doing its task fine here WinXP.