• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

Delete temp files on start, program

T

Tommy D

Flightless Bird
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
 
K

Ken Blake, MVP

Flightless Bird
On Mon, 26 Apr 2010 21:01:43 GMT, Tommy D
<tduprZx@landmarknZt.invalid> 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
 
B

Bruce Hagen

Flightless Bird
"Tommy D" <tduprZx@landmarknZt.invalid> wrote in message
news:XanBn.277904$wr5.25733@newsfe22.iad...
> 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
 
T

Terry R.

Flightless Bird
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/download/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.
 
M

mister_friendly@the-newzgroups.com

Flightless Bird
On Tue, 27 Apr 2010 10:44:58 -0700, "Terry R." <F1Com@NOSPAMpobox.com>
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/download/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.
 
T

Terry R.

Flightless Bird
On 4/27/2010 12:14 PM On a whim, mister_friendly@the-newzgroups.com
pounded out on the keyboard

> On Tue, 27 Apr 2010 10:44:58 -0700, "Terry R."<F1Com@NOSPAMpobox.com>
> 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/download/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.
 
Top