PC Review


Reply
Thread Tools Rate Thread

Auto delete temp files

 
 
Deon
Guest
Posts: n/a
 
      5th Feb 2007
Hi there.

Win XP Prof

C:\Documents and Settings\myname\Local Settings\Temp

In this temp folder, I have almost 600Mb of files and other stuff.
Can I delete it and can I set XP in such a way that it auto deletes these
files after a while?

--
Regards,

Deon H
 
Reply With Quote
 
 
 
 
Steve Parry
Guest
Posts: n/a
 
      5th Feb 2007
In news:Xns98CE92AAD438REMOVEdeonREMOVEsinc@196.25.240.158,
Deon <(E-Mail Removed)> wibbled
> Hi there.
>
> Win XP Prof
>
> C:\Documents and Settings\myname\Local Settings\Temp
>
> In this temp folder, I have almost 600Mb of files and other stuff.
> Can I delete it and can I set XP in such a way that it auto deletes
> these files after a while?


I have set my temp files to point to C:\temp for no other reason than it's
easier to manage

create a folder in C:\ called temp then

goto
Start
Control Panel
System
Advanced
Environment Variables

you can set the User variables for temp and tmp to C:\temp also set the
system temp and tmp too to the same location.

If you want to auto clear this folder a simple logoff script can achieve
this

run the group policy editor by
start
run
gpedit.msc
click ok
then refer to

https://www.microsoft.com/resources/....mspx?mfr=true

--
Steve Parry
www.gwynfryn.co.uk


 
Reply With Quote
 
Deon
Guest
Posts: n/a
 
      5th Feb 2007
"Steve Parry" <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> In news:Xns98CE92AAD438REMOVEdeonREMOVEsinc@196.25.240.158,
> Deon <(E-Mail Removed)> wibbled
>> Hi there.
>>
>> Win XP Prof
>>
>> C:\Documents and Settings\myname\Local Settings\Temp
>>
>> In this temp folder, I have almost 600Mb of files and other stuff.
>> Can I delete it and can I set XP in such a way that it auto deletes
>> these files after a while?

>
> I have set my temp files to point to C:\temp for no other reason than
> it's easier to manage
>
> create a folder in C:\ called temp then
>
> goto
> Start
> Control Panel
> System
> Advanced
> Environment Variables
>
> you can set the User variables for temp and tmp to C:\temp also set
> the system temp and tmp too to the same location.
>
> If you want to auto clear this folder a simple logoff script can
> achieve this
>
> run the group policy editor by
> start
> run
> gpedit.msc
> click ok
> then refer to
>
> https://www.microsoft.com/resources/...s/xp/all/prodd

o
> cs/en-us/gptext_logoffscripts.mspx?mfr=true
>


This sounds exactly what I need. Thank you so much for your reply.

--
Regards,

Deon H
 
Reply With Quote
 
Deon
Guest
Posts: n/a
 
      5th Feb 2007
"Steve Parry" <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> In news:Xns98CE92AAD438REMOVEdeonREMOVEsinc@196.25.240.158,
> Deon <(E-Mail Removed)> wibbled
>> Hi there.
>>
>> Win XP Prof
>>
>> C:\Documents and Settings\myname\Local Settings\Temp
>>
>> In this temp folder, I have almost 600Mb of files and other stuff.
>> Can I delete it and can I set XP in such a way that it auto deletes
>> these files after a while?

>
> I have set my temp files to point to C:\temp for no other reason than
> it's easier to manage
>
> create a folder in C:\ called temp then
>
> goto
> Start
> Control Panel
> System
> Advanced
> Environment Variables
>
> you can set the User variables for temp and tmp to C:\temp also set
> the system temp and tmp too to the same location.
>
> If you want to auto clear this folder a simple logoff script can
> achieve this
>
> run the group policy editor by
> start
> run
> gpedit.msc
> click ok
> then refer to
>
> https://www.microsoft.com/resources/...s/xp/all/prodd

o
> cs/en-us/gptext_logoffscripts.mspx?mfr=true
>


Thanx Steve,
I have just changed the settings as per your suggestion. Can I delete
all TEMP & TMP files from time to time?

Thanx again!

--
Regards,

Deon H
 
Reply With Quote
 
Steve Parry
Guest
Posts: n/a
 
      5th Feb 2007
In news:Xns98CE96916901REMOVEdeonREMOVEsinc@196.25.240.158,
Deon <(E-Mail Removed)> wibbled
> "Steve Parry" <(E-Mail Removed)> wrote in
> news:(E-Mail Removed):
>
>> In news:Xns98CE92AAD438REMOVEdeonREMOVEsinc@196.25.240.158,
>> Deon <(E-Mail Removed)> wibbled
>>> Hi there.
>>>
>>> Win XP Prof
>>>
>>> C:\Documents and Settings\myname\Local Settings\Temp
>>>
>>> In this temp folder, I have almost 600Mb of files and other stuff.
>>> Can I delete it and can I set XP in such a way that it auto deletes
>>> these files after a while?

>>
>> I have set my temp files to point to C:\temp for no other reason than
>> it's easier to manage
>>
>> create a folder in C:\ called temp then
>>
>> goto
>> Start
>> Control Panel
>> System
>> Advanced
>> Environment Variables
>>
>> you can set the User variables for temp and tmp to C:\temp also set
>> the system temp and tmp too to the same location.
>>
>> If you want to auto clear this folder a simple logoff script can
>> achieve this
>>
>> run the group policy editor by
>> start
>> run
>> gpedit.msc
>> click ok
>> then refer to
>>
>> https://www.microsoft.com/resources/...s/xp/all/prodd
>> o cs/en-us/gptext_logoffscripts.mspx?mfr=true
>>

>
> This sounds exactly what I need. Thank you so much for your reply.


Great thanks for your feedback

--
Steve Parry
www.gwynfryn.co.uk


 
Reply With Quote
 
Steve Parry
Guest
Posts: n/a
 
      5th Feb 2007
In news:Xns98CEAACB41AEREMOVEdeonREMOVEsinc@196.25.240.158,
Deon <(E-Mail Removed)> wibbled
> "Steve Parry" <(E-Mail Removed)> wrote in
> news:(E-Mail Removed):
>
>> In news:Xns98CE92AAD438REMOVEdeonREMOVEsinc@196.25.240.158,
>> Deon <(E-Mail Removed)> wibbled
>>> Hi there.
>>>
>>> Win XP Prof
>>>
>>> C:\Documents and Settings\myname\Local Settings\Temp
>>>
>>> In this temp folder, I have almost 600Mb of files and other stuff.
>>> Can I delete it and can I set XP in such a way that it auto deletes
>>> these files after a while?

>>
>> I have set my temp files to point to C:\temp for no other reason than
>> it's easier to manage
>>
>> create a folder in C:\ called temp then
>>
>> goto
>> Start
>> Control Panel
>> System
>> Advanced
>> Environment Variables
>>
>> you can set the User variables for temp and tmp to C:\temp also set
>> the system temp and tmp too to the same location.
>>
>> If you want to auto clear this folder a simple logoff script can
>> achieve this
>>
>> run the group policy editor by
>> start
>> run
>> gpedit.msc
>> click ok
>> then refer to
>>
>> https://www.microsoft.com/resources/...s/xp/all/prodd
>> o cs/en-us/gptext_logoffscripts.mspx?mfr=true
>>

>
> Thanx Steve,
> I have just changed the settings as per your suggestion. Can I delete
> all TEMP & TMP files from time to time?
>
> Thanx again!


That's what I do, I just manually go in and delete them now and then.

--
Steve Parry
www.gwynfryn.co.uk


 
Reply With Quote
 
Rock
Guest
Posts: n/a
 
      5th Feb 2007
"Deon" <(E-Mail Removed)> wrote

> Hi there.
>
> Win XP Prof
>
> C:\Documents and Settings\myname\Local Settings\Temp
>
> In this temp folder, I have almost 600Mb of files and other stuff.
> Can I delete it and can I set XP in such a way that it auto deletes these
> files after a while?


Any of the files here can and should be deleted regularly. Do so after a
fresh restart. That way any files that were associated with a new program
install would run at boot up, and then can be deleted. If a file is in use,
the OS won't let you delete it.

A nice tool for deleting temp files and removing other junk is ccleaner. I
do not use it for cleaning the registry. I recommend against the use of
registry cleaners.

http://www.ccleaner.com/

--
Rock [MVP - User/Shell]

 
Reply With Quote
 
Ken Blake, MVP
Guest
Posts: n/a
 
      5th Feb 2007
Deon wrote:

> Hi there.
>
> Win XP Prof
>
> C:\Documents and Settings\myname\Local Settings\Temp
>
> In this temp folder, I have almost 600Mb of files and other stuff.
> Can I delete it and can I set XP in such a way that it auto deletes
> these files after a while?



Yes, they can, and should be, deleted periodically.

The temp folder provides workspace for programs. Programs can create
temporary files there for their own temporary use. Each program should
delete all its temporary files when it closes, but for various reasons it
doesn't always happen (for example, if the program crashes, it never gets to
do this). That's why it's a good idea to periodically clean out anything
left there.

Also note that there are some program installations which work in two steps.
The first step concludes by writing temporary files and rebooting. The
second step starts automatically after rebooting and needs to find those
files there (and then deletes them when it's done).

Other than doing it automatically when rebooting (that would interfere with
installations like the kind I described), it's always safe to delete the
contents of the temp folder. Because it's safe to delete any temp files that
aren't open and in use by an application, and since Windows won't let you
delete open files, it's safe to (try to) delete them at any time. If any
fail to delete because they're open, they'll either be deleted automatically
when the app using them closes, or you'll get them the next time you delete
manually.

--
Ken Blake - Microsoft MVP Windows: Shell/User
Please reply to the newsgroup


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Delete Temp\Temporary Internet Files\ Files Larry R Harrison Jr Windows XP Internet Explorer 4 8th Feb 2005 04:32 PM
Auto clearing of temp files Jim Wood Windows XP Internet Explorer 1 8th Sep 2004 11:21 PM
Auto delete of temp folder items cacti_jim Windows XP Customization 2 18th Jun 2004 06:15 PM
How to delete temp files Anne Windows XP Internet Explorer 2 23rd Feb 2004 11:28 AM
Index.dat Suite - View & Delete Index.dat Files, Temp Internet Files (TIF), Cookies, History, Temp Files BillR Freeware 39 1st Nov 2003 09:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:53 PM.