Quantcast

Answer Line

Protect yourself from bad installations; automate some PC housekeeping chores; securely delete sensitive files.

  • 0 Yes
  • 0 No

With HP wireless printers, you could have printed this from any room in the house. Live wirelessly. Print wirelessly.

Empty the Temp Folder Automatically

Can I set something up to automatically empty the temp folder on a regular basis?

Francis Pham, West Chester, Ohio

You can safely remove anything in C:\Windows\Temp that was created before the current Windows session. So the best time to have it automatically emptied is during boot-up. Here's how to do that:

Select Start, Run, type the command sysedit and press Enter to launch the System Configuration Editor. Once there, go to the autoexec.bat window. That batch file may contain text, or it may be blank. Either way, add these two lines:

deltree /y c:\windows\temp

md c:\windows\temp

Save the file and exit the program.

From now on, you'll get an empty temp folder every time you boot.

  • Recommend this story?
  • 0 Yes
    0 No

Related Operating Systems Articles

  • CDW Virtualization Center What is Virtualization and how can it help you save money? Click here to find out.
  • Asus Laptop Showcase Ultra-fashionable thin and light notebooks with SmartLogon Face Recognition. Find out more...
  • HP Ink Center Bring improved color and brilliance to your printed material. Visit the Resource Center for more info...

PC World's Marketplace

PC World's Free Whitepapers

Name City
Address 1 State Zip
Address 2 E-mail (optional)