PC Review


Reply
Thread Tools Rate Thread

Delete temp files on start, program

 
 
Tommy D
Guest
Posts: n/a
 
      26th Apr 2010
I'm looking for a program that will run on startup that will clean out all
temp files. When I Google this, I get all sorts of things which I don't
have confidence in. I am running on Windows xp pro.

I would appreciate a recommendation on an app to run on start up. For now
I've been using TFC which I run once the computer is up and running.
However, it then restarts the system.


TIA
 
Reply With Quote
 
 
 
 
Bruce Hagen
Guest
Posts: n/a
 
      26th Apr 2010
"Tommy D" <(E-Mail Removed)> wrote in message
news:XanBn.277904$(E-Mail Removed)...
> I'm looking for a program that will run on startup that will clean out
> all
> temp files. When I Google this, I get all sorts of things which I don't
> have confidence in. I am running on Windows xp pro.
>
> I would appreciate a recommendation on an app to run on start up. For
> now
> I've been using TFC which I run once the computer is up and running.
> However, it then restarts the system.
>
>
> TIA



CCleaner:
http://www.ccleaner.com/

I would just stay away from any registry cleaning though.
--
Bruce Hagen
MS-MVP [Mail]
Imperial Beach, CA

 
Reply With Quote
 
Ken Blake, MVP
Guest
Posts: n/a
 
      26th Apr 2010
On Mon, 26 Apr 2010 21:01:43 GMT, Tommy D
<(E-Mail Removed)> wrote:

> I'm looking for a program that will run on startup that will clean out all
> temp files. When I Google this, I get all sorts of things which I don't
> have confidence in. I am running on Windows xp pro.
>
> I would appreciate a recommendation on an app to run on start up. For now
> I've been using TFC which I run once the computer is up and running.
> However, it then restarts the system.




Disk Cleanup, which is part of Windows.

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
 
Reply With Quote
 
Terry R.
Guest
Posts: n/a
 
      27th Apr 2010

On 4/26/2010 2:01 PM On a whim, Tommy D pounded out on the keyboard

> I'm looking for a program that will run on startup that will clean out all
> temp files. When I Google this, I get all sorts of things which I don't
> have confidence in. I am running on Windows xp pro.
>
> I would appreciate a recommendation on an app to run on start up. For now
> I've been using TFC which I run once the computer is up and running.
> However, it then restarts the system.
>
>
> TIA


Hi Tommy,

You can create a batch file and use commands like:

del /s /q %temp%\*.*

That will remove all files in the temp folders/subfolders, but it does
not remove the empty sub-folders.

You could also use:

rd /s /q %temp%
md %temp%

but it's a little strange to me to have to resort removing the folder
and re-creating it in order to empty it.

I use an old Win9x utility called deltree.exe that works fine in later
versions of Windows. You can find it easily using Google, and the command:

deltree.exe /y %temp%

empties the temp folders without removing the folder. If you have two
different locations for your TEMP or TMP variables, you can use:

deltree.exe /y %temp%
deltree.exe /y %tmp%

One location to download the file is here:
http://www.uv.tietgen.dk/staff/mlha/...d/dos/#DELTREE

Once you have created the batch file and tested it, you can add the
batch file using gpedit.msc (Start, Run, gpedit.msc, click OK) in
Computer Configuration/Windows Settings/Scripts/Shutdown. Add the file
and it will be executed on Shutdown.

Terry R.
--
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
Reply With Quote
 
Terry R.
Guest
Posts: n/a
 
      28th Apr 2010
On 4/27/2010 12:14 PM On a whim, (E-Mail Removed)
pounded out on the keyboard

> On Tue, 27 Apr 2010 10:44:58 -0700, "Terry R."<(E-Mail Removed)>
> wrote:
>
>> On 4/26/2010 2:01 PM On a whim, Tommy D pounded out on the keyboard
>>
>>> I'm looking for a program that will run on startup that will clean out all
>>> temp files. When I Google this, I get all sorts of things which I don't
>>> have confidence in. I am running on Windows xp pro.
>>>
>>> I would appreciate a recommendation on an app to run on start up. For now
>>> I've been using TFC which I run once the computer is up and running.
>>> However, it then restarts the system.
>>>
>>>
>>> TIA

>> Hi Tommy,
>>
>> You can create a batch file and use commands like:
>>
>> del /s /q %temp%\*.*
>>
>> That will remove all files in the temp folders/subfolders, but it does
>> not remove the empty sub-folders.
>>
>> You could also use:
>>
>> rd /s /q %temp%
>> md %temp%
>>
>> but it's a little strange to me to have to resort removing the folder
>> and re-creating it in order to empty it.
>>
>> I use an old Win9x utility called deltree.exe that works fine in later
>> versions of Windows. You can find it easily using Google, and the command:
>>
>> deltree.exe /y %temp%
>>
>> empties the temp folders without removing the folder. If you have two
>> different locations for your TEMP or TMP variables, you can use:
>>
>> deltree.exe /y %temp%
>> deltree.exe /y %tmp%
>>
>> One location to download the file is here:
>> http://www.uv.tietgen.dk/staff/mlha/...d/dos/#DELTREE
>>
>> Once you have created the batch file and tested it, you can add the
>> batch file using gpedit.msc (Start, Run, gpedit.msc, click OK) in
>> Computer Configuration/Windows Settings/Scripts/Shutdown. Add the file
>> and it will be executed on Shutdown.
>>
>> Terry R.

>
> I created a shortcut to the "temporary internet files" folder (IE
> Cache). Put the shortcut on the desktop so it's quick to access.
> Then I just go there every day or so, and choose ''select all files",
> then DELETE. Browser cache files are the bulk of useless clutter.
> I never save cookies or any of that stuff.
>


That folder isn't the same as the TEMP folders the OP asked about. But
you could create the same batch file for the TIF folder also. Why do
something manually that you can have done automatically?


Terry R.
--
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
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
Using %Temp% to delete files from Start, then Run =?Utf-8?B?cGF1bHY=?= Windows XP General 4 2nd Mar 2006 12:20 PM
Temp files, can I delete them all? Greg Windows XP Performance 3 18th Aug 2005 05:16 AM
Can't Delete Temp\Temporary Internet Files\ Files Larry R Harrison Jr Windows XP Internet Explorer 4 8th Feb 2005 04:32 PM
cannot delete cd/rw temp files nick c. Windows XP General 0 19th Nov 2003 09:57 PM
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 02:09 PM.