PDA

View Full Version : Clear the Temp directory


©®
February 6th 04, 10:41 AM
I have just checked and see I have about 127MB in my C:\Documents and
Settings\[User]\Local Settings\Temp directory.
Is there a setting or an app that will allow me to clear this when the
computer boots up.
I have tried manually deleting but get some files (e.g. ~DF4D0D.tmp)
that are being used by Windows and so cannot be deleted. I guess I am
looking for something that will totally clear the folder (and perhaps
other temp folders like C:\Windows\Temp) regularly.
BTW - is there any reason that I *shouldn't* clear it?
Thanks

kritikul
February 6th 04, 01:02 PM
im not an expert but if u use 98, i would try this
include in autoexec.bat:
del c:\windows\temp\*.*
you can loose possible useful files (e.g. someting you downloaded), but you
cannot damage the operating system
if you cannot delete files manually now, you can delete them tomorrow

"©®" > wrote in message
...
> I have just checked and see I have about 127MB in my C:\Documents and
> Settings\[User]\Local Settings\Temp directory.
> Is there a setting or an app that will allow me to clear this when the
> computer boots up.
> I have tried manually deleting but get some files (e.g. ~DF4D0D.tmp)
> that are being used by Windows and so cannot be deleted. I guess I am
> looking for something that will totally clear the folder (and perhaps
> other temp folders like C:\Windows\Temp) regularly.
> BTW - is there any reason that I *shouldn't* clear it?
> Thanks
>
>

Steven Burn
February 6th 04, 02:22 PM
kritikul > wrote in message news:40238582$1@tyson...
> im not an expert but if u use 98, i would try this
> include in autoexec.bat:
> del c:\windows\temp\*.*
</snip>

Not a good idea (see below), just go to Start > Run, type: "temp" (without
the quotes), and press enter..... then delete the folder contents (MAKE SURE
you have re-booted the computer FIRST!!!)

<snip>
> you can loose possible useful files (e.g. someting you downloaded),
</snip>

Errr.... if your downloading to the temp folder there's something seriously
wrong....... (should never download to the temp folder unless you have
absolutely no other choice)

<snip>
> but you cannot damage the operating system
</snip>

Actually...... yes, you can. If you delete the temp file's before re-booting
the computer, there is a chance that you can screw things up pretty badly,
especially if you've just installed a new program or changed a programs
setting, and the program used the temp folder to store the change.... then
goes bonkers because you deleted it's file. ALWAYS make sure you re-boot the
computer before you delete the temp file's...... just incase.

<snip>
> if you cannot delete files manually now, you can delete them tomorrow
</snip>

Errr..... why wait till the next day?.... (this one's got me baffled.....
it's still going to be the same thing).

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)

February 6th 04, 02:22 PM
Hi,

Try running the Disk Cleanup utility.

http://support.microsoft.com/default.aspx?scid=kb;en-
us;310312&Product=winxp

Regards,

Tim

>-----Original Message-----
>kritikul > wrote in message
news:40238582$1@tyson...
>> im not an expert but if u use 98, i would try this
>> include in autoexec.bat:
>> del c:\windows\temp\*.*
></snip>
>
>Not a good idea (see below), just go to Start > Run,
type: "temp" (without
>the quotes), and press enter..... then delete the folder
contents (MAKE SURE
>you have re-booted the computer FIRST!!!)
>
><snip>
>> you can loose possible useful files (e.g. someting you
downloaded),
></snip>
>
>Errr.... if your downloading to the temp folder there's
something seriously
>wrong....... (should never download to the temp folder
unless you have
>absolutely no other choice)
>
><snip>
>> but you cannot damage the operating system
></snip>
>
>Actually...... yes, you can. If you delete the temp
file's before re-booting
>the computer, there is a chance that you can screw things
up pretty badly,
>especially if you've just installed a new program or
changed a programs
>setting, and the program used the temp folder to store
the change.... then
>goes bonkers because you deleted it's file. ALWAYS make
sure you re-boot the
>computer before you delete the temp file's...... just
incase.
>
><snip>
>> if you cannot delete files manually now, you can delete
them tomorrow
></snip>
>
>Errr..... why wait till the next day?.... (this one's got
me baffled.....
>it's still going to be the same thing).
>
>--
>Regards
>
>Steven Burn
>Ur I.T. Mate Group
>www.it-mate.co.uk
>
>Keeping it FREE!
>
>Disclaimer:
>I know I'm probably wrong, I just like taking part ;o)
>
>
>.
>

Bob Adkins
February 6th 04, 02:42 PM
On Fri, 6 Feb 2004 09:36:16 -0000, "©®" > wrote:

>looking for something that will totally clear the folder (and perhaps
>other temp folders like C:\Windows\Temp) regularly.

TempCleaner

It works great!

It has 2 tiny files. 1 file is to configure it, 1 is the actual temp deleter
that runs on startup.

I collect temps in 3 places, and all 3 folders stay clean as a whistle.

Here's a writeup from SnapFiles.com

TempCleaner is a simple little tool that will automatically delete Windows
Temp files whenever you start your computer (or also on demand). It
automatically detects the correct system Temp folder, regardless of your
Windows operating system and you can also add additional folders that should
be cleared. The program runs automatically at startup and files are deleted
to the recycle bin, so they can be recovered if needed.


http://www.webattack.com/get/tempcleaner.html

Bob

Duddits
February 6th 04, 08:02 PM
On Fri, 6 Feb 2004 09:36:16 -0000, "©®" > wrote:

>I have just checked and see I have about 127MB in my C:\Documents and
>Settings\[User]\Local Settings\Temp directory.
>Is there a setting or an app that will allow me to clear this when the
>computer boots up.
>I have tried manually deleting but get some files (e.g. ~DF4D0D.tmp)
>that are being used by Windows and so cannot be deleted. I guess I am
>looking for something that will totally clear the folder (and perhaps
>other temp folders like C:\Windows\Temp) regularly.
>BTW - is there any reason that I *shouldn't* clear it?
>Thanks
>
Disk Cleaner
http://www.xs4all.nl/~mp2004/

regards

Dud
--

I don't have a solution but I admire the problem

tfog
February 7th 04, 11:24 AM
"(c)(r)" > wrote in news:40236012$0$27470$65c69314
@mercury.nildram.net:

> I have just checked and see I have about 127MB in my C:\Documents and
> Settings\[User]\Local Settings\Temp directory.
> Is there a setting or an app that will allow me to clear this when the
> computer boots up.
> I have tried manually deleting but get some files (e.g. ~DF4D0D.tmp)
> that are being used by Windows and so cannot be deleted. I guess I am
> looking for something that will totally clear the folder (and perhaps
> other temp folders like C:\Windows\Temp) regularly.
> BTW - is there any reason that I *shouldn't* clear it?
> Thanks
>
>
>
Another way is to create a RAM Disk and use X-setup Pro to assign the
temp/tmp, temporary internet files, history, cookies, and most recent
documents to the RAM Disk. You can reserve up to 64M of RAM with no
problems. Mine is set to a 16M RAM Disk, which I find adequate for my use.
Obviously, the advantage is that every time you reboot, all of the
temporary stuff is cleared from your computer. Downside is that you need
sufficient memory. The software is free. See:
http://www.ramdisk.tk
http://www.x-setup.net/downloads/home.asp?lang=EN

Google