Delete your TEMP files on shutdown
It is really easy to set Windows XP to delete the contents of your Temp folder (or run any other commands) on shutdown. There are numerous reasons why you might want to delete your Temporary files when you shutdown Windows XP. Your Temporary files folder can get extremely large. Take a look at what’s in C:\WINDOWS\Temp.
The first step is to install Xecutor. You can download Xecutor from the Xpertdesign homepage.
The second step is to create a batch file that will delete your temporary files on shutdown. To do this open up notepad and type the following line:del /Q G:\WINDOWS\Temp save your file as tempdelete.bat. Alternatively, you can download my tempdelete.bat file if you prefer.
The third step is to configure Xecutor to run the tempdelete.bat file on shutdown. Open
Xecutor, and answer no to the stream of questionsit prompts you with the first time you run it. Next choose the shutdown tab and add tempdelete.bat file. This is shown below:
After you hit OK you will now see tempdelete.bat in the shutdown tab of Xecutor.
Now just close Xecutor and it will run in your system tray. The last step is to drag the Xecutor icon from your desktop into your Startup folder located in Start >> All Programs >> Startup so that Xecutor starts when you start Windows.
You are all set, now when you shutdown Windows, your temporary files will be deleted, as well. You can add other commands the same way (i.e., delete cookies, delete My Documents, etc.).
What other commands do you think would be useful to run at Shutdown? Let us know in the comments.
Saturday, February 10, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment