Annoyances.org
Home » Windows 98 Discussion Forum » Message 1043315831 Search | Help | Home
  
re: Question about 'What to Throw Away'
Thursday, January 23, 2003 at 1:57 am
Windows 98 Annoyances Discussion Forum
Posted by ThEm0rUs (1 messages posted)


   HOW TO SAFELY DELETE TEMP FOLDER CONTENTS
Here's how we do it. Before Windows starts up, our changes to AUTOEXEC.BAT tell the 
DOS operating system to clean out the Temp folder. This works MUCH better than trying 
to clean out the Temp folder while Windows is running. Then Windows starts up with 
a clean, empty Temp folder. Your PC regains its former speed and gets back a lot 
of storage space.
   But I'm giving you fair warning that this method is not foolproof. If you are 
installing a program and you see a message that tells you to restart Windows or reboot 
the computer, that program could be storing something very important in the Temp 
folder to use when Windows reboots. This is stupid and should never be done, but 
even Microsoft's own software does it.
   So you can't ever assume that it's OK to clean out the Temp folder during a reboot. 
If you're installing a new program, obviously that's a bad time. If Windows is doing 
some of its own installations, that's also a bad time. Use my cleanup method ONLY 
at the first bootup of the day. Don't use it at any other time.
   Edit AUTOEXEC.BAT by using the RUN command in the Start Menu and typing SYSEDIT 
and pressing Enter. Simply put these lines at the bottom -- they MUST be at the bottom 
-- of the AUTOEXEC.BAT file, then close the SYSEDIT window and save the file. SYSEDIT 
will ask if you want to save it:
----------------------------------------------------------
   echo "This will eliminate everything from the Temp folder."
   echo "If you have just installed a program and rebooted,"
   echo "press Ctrl-C to cancel this step."
   pause
   c:
   cd windows
   deltree /y temp
   md temp
----------------------------------------------------------   
That's It !
<(~_~)>





On Wednesday, May 22, 2002 at 8:14 pm, CellarDweller wrote: >I have a question about What >to Throw Away:

In my C:\WINDOWS\TEMP folder, along with all the deletable files, >there are sub-folders in there as well. Are they safe to delete too? > >




Written in response to:
Question about 'What to Throw Away' (CellarDweller: Wednesday, May 22, 2002 at 8:14 pm)

There are presently no replies to this message.

All messages in this thread [show all]
-Question about 'What to Throw Away' (CellarDweller: Wed, May 22, 2002, 8:14 pm)
-re: Question about 'What to Throw Away' (Cosmic Skeptic: Wed, May 22, 2002, 8:22 pm)
*Subfolders in temp folder??? (nt) (Carol: Wed, May 22, 2002, 10:49 pm)
*re: Question about 'What to Throw Away' (amaralliya e. thenardier: Wed, May 22, 2002, 8:23 pm)
-re: Question about 'What to Throw Away' (br: Wed, May 22, 2002, 9:25 pm)
*re: Question about 'What to Throw Away' (CellarDweller: Wed, May 22, 2002, 9:33 pm)
-re: Question about 'What to Throw Away' (Carol: Wed, May 22, 2002, 10:45 pm)
*re: Question about 'What to Throw Away' (CellarDweller: Thu, May 23, 2002, 4:52 am)
*re: Question about 'What to Throw Away' (Bobstur: Thu, May 23, 2002, 5:08 am)
*re: Question about 'What to Throw Away' (ThEm0rUs: Thu, Jan 23, 2003, 1:57 am)
Return to the Windows 98 Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.