Author Topic: Tell Hal To Empty The Recycle Bin  (Read 5123 times)

Rich_A

  • Sr. Member
  • ****
  • Posts: 396
    • View Profile
Tell Hal To Empty The Recycle Bin
« on: January 11, 2005, 07:58:59 am »
Hello All,
Tell your Hal to empty the Recycle Bin!
Download this batch file program named
EmptyRecycleBin.exe from here:

Download Attachment: EmptyRecycleBin.zip
30.14 KB

After you download the program take the file named
EmptyRecycleBin.exe and copy it into your computer's
"C:/WINDOWS/System32" folder. If your computer doesn't
have a "C:/WINDOWS/System32" folder then just copy
the file into your Computer's "C:/WINDOWS" folder.

Then download this batch file that I made named EmptyBin.bat:

Download Attachment: EmptyBin.zip
629 Bytes

You can put the EmptyBin.bat file anywhere, but placing it in
a folder like "My Documents" would probably be a good place to
put it. In your "My Documents" folder you can create a new folder
and name it "Empty Bin" and then place the EmptyBin.bat file in
that new folder. (Warning: Do NOT rename the batch file to
EmptyRecycleBin.bat because then it may not work. Sometimes
batch files can be a little fussy if you name them to something
that too closely resembles the name of a Windows system file or
system utility.)

Then create a new shortcut to the EmptyBin.bat file and name the
shortcut "Empty Bin" or "Empty Recycle Bin" or whatever you want,
like "Delete Trash" or something. Then take that new shortcut and
place it in either in a folder located in your system's
"Start/All Programs Menu" or place it right on your Desktop.
Then restart your Hal. The next time you have some trash in your
Recycle Bin that you want to get rid of tell your Hal to "Run Empty Bin" and he will delete the files for you. You don't even need to open your Recycle Bin to have Hal empty it for you, just tell him to empty it and he will.

And that's it for now!
Good Luck,
Rich_A

« Last Edit: January 11, 2005, 08:01:40 am by Rich_A »
 

Crystal2003

  • Newbie
  • *
  • Posts: 26
    • View Profile
    • http://www.biographcompany.com
Tell Hal To Empty The Recycle Bin
« Reply #1 on: January 12, 2005, 12:33:20 pm »
I tried every way and it does not work. I followed everything and it will not do it. HELP!!!!!

Thomas R. Bond, II

Rich_A

  • Sr. Member
  • ****
  • Posts: 396
    • View Profile
Tell Hal To Empty The Recycle Bin
« Reply #2 on: January 13, 2005, 02:24:22 am »
Hello Crystral2003,
I'm sorry to hear that it's not working for you.
But I would need some more information about what's happening when you try to run it.

You can however try testing a few things out.
First send some garbage to the Recycle Bin.
Then open up your C:/WINDOWS/System32 folder using your Windows Explorer and navigate to the EmptyRecycleBin.exe file.

Then double click on that file and see if it deletes the trash in the Recycle Bin. If that works then that EmptyRecycleBin.exe file is OK.

But you should do another check by opening up your Command Prompt and typing the following:

EmptyRecycleBin.exe /?

After you type that in at the Command Prompt you should get a little help menu display telling you about the command. If you see the help stuff displayed then the EmptyRecycleBin.exe file is working and it is set up correctly.

This would then mean that there may be something wrong with the way the batch file EmptyBin.bat is set up on your computer. You should go to the folder where you put the EmptyBin.bat file and try the same test by double clicking on it and see if it deletes the trash. If it does work then the problem may be that there is something wrong with the shortcut that you have for the EmptyBin.bat file. So delete the shortcut and create a new one and call it "Delete Trash". Then place the "Delete Trash" shortcut right on your Desktop for now. Then test the shortcut by double clicking on it and see if that works. If it does work then restart your Hal and then tell him to "Run Delete Trash".

If you passed all the tests and steps except for the last one of having Hal trying to run the shortcut to the Empty Recycle Bin program then either you need to try renaming the shortcut to something else that Hal will be able to use and run, or you got a problem with your Hal program. Does your Hal have trouble running other programs besides this?

Post your results and let me know at which point during the above steps did the test actually fail to empty the Recycle Bin.
Thanks,
Rich_A