|
|
|
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?
>
>
|
All messages in this thread [show all]
 |  | re: Question about 'What to Throw Away' (ThEm0rUs: Thu, Jan 23, 2003, 1:57 am) |
| |
| |
Return to the Windows 98 Discussion Forum
|
|
|
|