Quantcast
PCWorld.com is upgrading some back-end systems. Some site features, such as user registration, may be temporarily unavailable.

Blogs

    Answer Line

  • From Windows to wireless, Contributing Editor Lincoln Spector finds solutions to readers' most vexing PC problems.
  • Subscribe to this blog

Answer Line: How to Diagnose a Faulty Broadband Connection

Lincoln Spector

Temp-Folder Autoscrub

A few years ago you suggested a batch file to clean out the Temp folder at PC bootup. It doesn't work in Windows XP. Is there a revised version?

Jeff Szymanski, Greendale, Wisconsin

My original Temp folder autocleaner still works fine for Windows 98 and Me. Here's the updated version for Windows XP and 2000: Launch Notepad or any text editor and enter these two lines:

rd %temp% /s /q

md %temp%

Save the file in a convenient location, and assign it the name "cleantemp.bat". To add the batch file to your Start menu's Startup submenu, drag it onto the Start button until the menu appears, hover atop All Programs (in XP) or Programs (in 2000) until that menu appears, and then drop it onto the Startup folder.

Cleaning the Temp folder at shutdown (as I once mistakenly advised) can play havoc with some installation programs. But once your Startup programs have loaded, you can safely assume that there is nothing in Temp worth keeping.

  • Recommend this story?
  • 0 Yes
    0 No

"Answer Line: How to Diagnose a Faulty Broadband Connection" Comments

  • Great year-end deals
    for small business!
  • Get 24/7 live remote AT&T Tech Support 360* service along with select Lenovo* PCs (with Intel® Core™ 2 Duo processors) and save up to 200!

    Learn more

  • HP EliteBook* 6930p Notebook with Intel® vPro™ technology and a free HP Basic Docking Station - $641 instant savings!

    Learn more

Dell Laptop Deals

Focus on Personal Productivitysponsored by Microsoft

  • Personal Finance 2.0 These free and fee-based Web services not only aggregate data from your online bank accounts, they give you tools for managing your money.
  • High-Tech Travel Tips Plenty of stories provide advice for elite mobile professionals. But what about you, the unproductive traveler?

People who read this also read:

Answer Line

All PC World Blogs

  • 15 Minutes to a Secure Business Get the Secure in 15 toolkit starting with the "15 Minutes Month-at-a-Glance" calendar. McAfee will send you additional tools and tricks to stay protected around the clock.
  • A Buyer's Guide to Data Protection Implementing data protection products and processes can be daunting. Make the right decisions by exploring what is available and what makes sense for your organization. Use this simple guide to evaluate different vendor offerings.

Sponsored Links