• 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.

How to delete ALL temporary files

N

NoSpam@aol.com

Flightless Bird
All those not currently open, that is.

The Windows registry defines an Temp files folder. Windows and many apps
place temp files in this folder.

However, on my system, there are 14 other folders with the name Temp or
Temporary. Many of these are in the Windows directory tree and in the
Documents and Settings tree. In addition, there are files with the
extensions .tmp and .temp here & there in the Windows tree.

Is there a utility that will clean up ALL temp files rather than just
allowing them to collect?

ANOTHER QUESTION:
Can I safely get rid of all the service pack and hot fix uninstall files.
I have backups, so I can always get them back if I ever need them.

Thanks for any help.
 
A

Anthony Buckland

Flightless Bird
<NoSpam@aol.com> wrote in message
news:bg8r461afkojutt7hrfotrudglc4frcka7@4ax.com...
> All those not currently open, that is.
>
> The Windows registry defines an Temp files folder. Windows and many apps
> place temp files in this folder.
>
> However, on my system, there are 14 other folders with the name Temp or
> Temporary. Many of these are in the Windows directory tree and in the
> Documents and Settings tree. In addition, there are files with the
> extensions .tmp and .temp here & there in the Windows tree.
>
> Is there a utility that will clean up ALL temp files rather than just
> allowing them to collect?
>
> ANOTHER QUESTION:
> Can I safely get rid of all the service pack and hot fix uninstall files.
> I have backups, so I can always get them back if I ever need them.
>
> Thanks for any help.


Maybe you're being neat, which is good.

And/or maybe you're desperate for space on your hard
drive, to which the answer, in this day of cheap, really
big drives, is usually, "get a much bigger one."
 
P

Pegasus [MVP]

Flightless Bird
<NoSpam@aol.com> wrote in message
news:bg8r461afkojutt7hrfotrudglc4frcka7@4ax.com...
> All those not currently open, that is.
>
> The Windows registry defines an Temp files folder. Windows and many apps
> place temp files in this folder.
>
> However, on my system, there are 14 other folders with the name Temp or
> Temporary. Many of these are in the Windows directory tree and in the
> Documents and Settings tree. In addition, there are files with the
> extensions .tmp and .temp here & there in the Windows tree.
>
> Is there a utility that will clean up ALL temp files rather than just
> allowing them to collect?
>
> ANOTHER QUESTION:
> Can I safely get rid of all the service pack and hot fix uninstall files.
> I have backups, so I can always get them back if I ever need them.
>
> Thanks for any help.


You could use the Task Scheduler to run the following batch file at boot
time under an Administrator account:

@echo off
del /s /q /f c:/*.tmp

Is it safe? Well, by universal agreement everyone uses .tmp files for
temporary storage. I have never seen an exception to this convention.

About service packs and hot fixes: Yes, you can delete them safely, in
particular if you keep backups.
 
B

- Bobb -

Flightless Bird
I use Ccleaner to do exactly that.
Its freeware- you can get it at
http://www.piriform.com/ccleaner/screenshots or www.cnet.com , filehippo,
etc

During install it was ask " put a shortcut on desktop, etc. etc"
I choose only to allow " Right click on Recycle bin"
When right click on recycle you can then choose to
open Clceaner or
Run Cleaner

The first time , choose Open
then choose what you would 'normally' like it to do. empty all temp files,
empty trash, etc
After that you can choose RUN cleaner and it will do ''' whatever you
chose" as defaults.
To change options go back to OPEN.
I normally do not have it purge my history, etc but do that periodically by
choosing OPEN and clicking the boxes.
One of the boxes has to do with " delete install files" 'hot fix
uninstalls', etc.

Plenty of help , screenshots at above links .
Great app. I use it on all my pcs.



<NoSpam@aol.com> wrote in message
news:bg8r461afkojutt7hrfotrudglc4frcka7@4ax.com...
> All those not currently open, that is.
>
> The Windows registry defines an Temp files folder. Windows and many apps
> place temp files in this folder.
>
> However, on my system, there are 14 other folders with the name Temp or
> Temporary. Many of these are in the Windows directory tree and in the
> Documents and Settings tree. In addition, there are files with the
> extensions .tmp and .temp here & there in the Windows tree.
>
> Is there a utility that will clean up ALL temp files rather than just
> allowing them to collect?
>
> ANOTHER QUESTION:
> Can I safely get rid of all the service pack and hot fix uninstall files.
> I have backups, so I can always get them back if I ever need them.
>
> Thanks for any help.
 
A

antioch

Flightless Bird
<NoSpam@aol.com> wrote in message
news:bg8r461afkojutt7hrfotrudglc4frcka7@4ax.com...
> All those not currently open, that is.
>
> The Windows registry defines an Temp files folder. Windows and many apps
> place temp files in this folder.
>
> However, on my system, there are 14 other folders with the name Temp or
> Temporary. Many of these are in the Windows directory tree and in the
> Documents and Settings tree. In addition, there are files with the
> extensions .tmp and .temp here & there in the Windows tree.
>
> Is there a utility that will clean up ALL temp files rather than just
> allowing them to collect?
>
> ANOTHER QUESTION:
> Can I safely get rid of all the service pack and hot fix uninstall files.
> I have backups, so I can always get them back if I ever need them.
>
> Thanks for any help.
>


I am running WIN XP SP3 -

As far as I am concerned there are only two 'temp folders' to keep an eye
on -

START/RUN type in the box TEMP or temp

OR

START/RUN type in the box %temp% or %TEMP%

Most of all the others have nothing in them.

The files present in the these Temp folders can safely be deleted. However,
if
you've installed any software during the current session, reboot once before
deleting the temporary files. It is good practice to always reboot after
installing any software.
XP will not let you delete a file that is in use. Those that cannot will not
when you try.

When you use the Disk Cleanup utility, you delete the files in %TEMP%
folder, some of the files may not be deleted by the utility. The Disk
Cleanup utility does not delete files which have been accessed in the last 7
days.
You can configure Disk Cleanup so that it deletes all the files in the
%TEMP% folder, irrespective of the last accessed date. To do so, requires
altering the registry, but I consider a bit over the top.

When you reboot, the files in TEMP/temp are reset with the date of that
boot.
You may find one or two from a previous date still there, but they should
delete manually.

My thanks to Ramesh Srinivasan, Microsoft MVP; Malke Microsoft MVP; Wes
Vogel
MS-MVP from whom the above was compiled.

Antioch
 
T

Twayne

Flightless Bird
In news:bg8r461afkojutt7hrfotrudglc4frcka7@4ax.com,
NoSpam@aol.com <NoSpam@aol.com> typed:
> All those not currently open, that is.
>
> The Windows registry defines an Temp files folder. Windows
> and many apps place temp files in this folder.


from the Command Prompt, you could run the following, or make a batch file
of it:

c:/
del *.tmp /s
del *.temp /s
del ~*.* /s
del *.bak /s
del *.wbk /s
and any other backup file extension you're aware of that you may have but
that will cover the OS, Office and most other programs.

If you're doing this because you need more space, it's a futile effort. It
will only last for a day or so and is overall probably a very tiny amount of
space compared to what you need.
Here a better fix would be to get a larger hard drive since they're so
cheap these days, AND stop forcing programs to close by using the Power
Button or pulling the plug to get programs to close. If a program cannot
close properly, it will always leave those things behind. Normally they
should be deleted automatically as the program closes down.

To get the most space back, Disk Cleanup in System Tools is all you should
need. Let it run and do all it can do; it'll take a few minutes most likely
to complete.

>
> However, on my system, there are 14 other folders with the
> name Temp or Temporary. Many of these are in the Windows
> directory tree and in the Documents and Settings tree. In
> addition, there are files with the extensions .tmp and
> .temp here & there in the Windows tree.
>
> Is there a utility that will clean up ALL temp files rather
> than just allowing them to collect?


For what you listed, use System Tools' Disk Cleanup.

Be aware that you've given painfully poor information for your query so any
well targeted answers aren't really possible.

HTH,

Twayne`

> ANOTHER QUESTION:
> Can I safely get rid of all the service pack and hot fix
> uninstall files. I have backups, so I can always get them
> back if I ever need them.
>
> Thanks for any help.
 
C

C.Joseph Drayton

Flightless Bird
On 7/26/2010 9:01 AM, NoSpam@aol.com wrote:
> All those not currently open, that is.
>
> The Windows registry defines an Temp files folder. Windows and many apps
> place temp files in this folder.
>
> However, on my system, there are 14 other folders with the name Temp or
> Temporary. Many of these are in the Windows directory tree and in the
> Documents and Settings tree. In addition, there are files with the
> extensions .tmp and .temp here& there in the Windows tree.
>
> Is there a utility that will clean up ALL temp files rather than just
> allowing them to collect?
>
> ANOTHER QUESTION:
> Can I safely get rid of all the service pack and hot fix uninstall files.
> I have backups, so I can always get them back if I ever need them.
>
> Thanks for any help.


I have been using this app for years and it does a good job. I have set
to empty all my temp folders every time I boot the computer.

http://www.danish-shareware.dk/soft/emptemp/index.html

Sincerely,
C.Joseph Drayton, Ph.D. AS&T

CSD Computer Services

Web site: http://csdcs.site90.net/
E-mail: c.joseph@csdcs.site90.net
 
Top