A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Performance and Maintainance of XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Deleting files in C:\Windows\Temp



 
 
Thread Tools Display Modes
  #1  
Old January 27th 10, 08:52 PM posted to microsoft.public.windowsxp.perform_maintain
siamoose
external usenet poster
 
Posts: 7
Default Deleting files in C:\Windows\Temp

In my C:\Windows\Temp folder I have 17 folders like this "tmp00001cef"
Each one has different files in them,(for a total of 51 files) ranging from
0MB to 1.46GB. Total size of them is 48.6 GB.

My question is can I delete these safely? I have no idea what they are for.

Appreciate any suggestion, thanks!
debbie
Ads
  #2  
Old January 27th 10, 09:14 PM posted to microsoft.public.windowsxp.perform_maintain
Leonard Grey[_3_]
external usenet poster
 
Posts: 3,048
Default Deleting files in C:\Windows\Temp

In general, the contents of the Temp folder are safe to delete, but with
caveats:

Re-start your computer before clearing the Temp folder, since one or
more of the files inside may be waiting to perform some function at the
next re-start.

To really be on the safe side, don't delete Temp files until they are 24
hours old, since one or more may be waiting for a certain time to
perform a specific function.

Some of the files may be un-deletable, since they are currently in use.

With a little digging, you can find out which program is creating large
files in the Temp folder. With that knowledge you can also configure the
program not to use so much space (e.g., don't maintain 30 days of
application history.)
---
Leonard Grey
Errare humanum est

siamoose wrote:
In my C:\Windows\Temp folder I have 17 folders like this "tmp00001cef"
Each one has different files in them,(for a total of 51 files) ranging from
0MB to 1.46GB. Total size of them is 48.6 GB.

My question is can I delete these safely? I have no idea what they are for.

Appreciate any suggestion, thanks!
debbie

  #3  
Old January 27th 10, 09:14 PM posted to microsoft.public.windowsxp.perform_maintain
Leonard Grey[_3_]
external usenet poster
 
Posts: 3,048
Default Deleting files in C:\Windows\Temp


In general, the contents of the Temp folder are safe to delete, but with
caveats:

Re-start your computer before clearing the Temp folder, since one or
more of the files inside may be waiting to perform some function at the
next re-start.

To really be on the safe side, don't delete Temp files until they are 24
hours old, since one or more may be waiting for a certain time to
perform a specific function.

Some of the files may be un-deletable, since they are currently in use.

With a little digging, you can find out which program is creating large
files in the Temp folder. With that knowledge you can also configure the
program not to use so much space (e.g., don't maintain 30 days of
application history.)
---
Leonard Grey
Errare humanum est

siamoose wrote:
In my C:\Windows\Temp folder I have 17 folders like this "tmp00001cef"
Each one has different files in them,(for a total of 51 files) ranging from
0MB to 1.46GB. Total size of them is 48.6 GB.

My question is can I delete these safely? I have no idea what they are for.

Appreciate any suggestion, thanks!
debbie

  #4  
Old January 27th 10, 09:14 PM posted to microsoft.public.windowsxp.perform_maintain
Ken Blake, MVP
external usenet poster
 
Posts: 10,402
Default Deleting files in C:\Windows\Temp

On Wed, 27 Jan 2010 12:52:06 -0800, siamoose
wrote:

In my C:\Windows\Temp folder I have 17 folders like this "tmp00001cef"
Each one has different files in them,(for a total of 51 files) ranging from
0MB to 1.46GB. Total size of them is 48.6 GB.

My question is can I delete these safely? I have no idea what they are for.



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.

Some people may suggest that you reboot before deleting anything, but
that's not necessary, for the reason described above (on the other
hand, it doesn't hurt to do it).

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
  #5  
Old January 27th 10, 09:14 PM posted to microsoft.public.windowsxp.perform_maintain
Ken Blake, MVP
external usenet poster
 
Posts: 10,402
Default Deleting files in C:\Windows\Temp


On Wed, 27 Jan 2010 12:52:06 -0800, siamoose
wrote:

In my C:\Windows\Temp folder I have 17 folders like this "tmp00001cef"
Each one has different files in them,(for a total of 51 files) ranging from
0MB to 1.46GB. Total size of them is 48.6 GB.

My question is can I delete these safely? I have no idea what they are for.



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.

Some people may suggest that you reboot before deleting anything, but
that's not necessary, for the reason described above (on the other
hand, it doesn't hurt to do it).

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
  #6  
Old January 28th 10, 12:14 AM posted to microsoft.public.windowsxp.perform_maintain
SC Tom[_3_]
external usenet poster
 
Posts: 4,089
Default Deleting files in C:\Windows\Temp


"Ken Blake, MVP" wrote in message
...
On Wed, 27 Jan 2010 12:52:06 -0800, siamoose
wrote:

In my C:\Windows\Temp folder I have 17 folders like this "tmp00001cef"
Each one has different files in them,(for a total of 51 files) ranging
from
0MB to 1.46GB. Total size of them is 48.6 GB.

My question is can I delete these safely? I have no idea what they are
for.



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.

Some people may suggest that you reboot before deleting anything, but
that's not necessary, for the reason described above (on the other
hand, it doesn't hurt to do it).

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


I'm sure what you're saying is probably true, but I've had a batch file that
I run on start-up every day that deletes all the files in my temp folder,
and I have never had a bad program installation since using it. It doesn't
always get everything (some Zone Alarm data files) the first day, but then
those files are replaced and erased the following day, and so on.
I find it amazing the amount of stuff that gets written there and is still
there even after it's no longer needed. Through forgetfulness (and maybe a
touch of laziness), I managed to not empty it out for weeks on end before I
finally wrote the batch file.
That works for me, but I'm not stating that everyone should go this route.
But if you do, use at your own risk :-)
--
SC Tom

  #7  
Old January 28th 10, 12:14 AM posted to microsoft.public.windowsxp.perform_maintain
SC Tom[_3_]
external usenet poster
 
Posts: 4,089
Default Deleting files in C:\Windows\Temp


"Ken Blake, MVP" wrote in message
...
On Wed, 27 Jan 2010 12:52:06 -0800, siamoose
wrote:

In my C:\Windows\Temp folder I have 17 folders like this "tmp00001cef"
Each one has different files in them,(for a total of 51 files) ranging
from
0MB to 1.46GB. Total size of them is 48.6 GB.

My question is can I delete these safely? I have no idea what they are
for.



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.

Some people may suggest that you reboot before deleting anything, but
that's not necessary, for the reason described above (on the other
hand, it doesn't hurt to do it).

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


I'm sure what you're saying is probably true, but I've had a batch file that
I run on start-up every day that deletes all the files in my temp folder,
and I have never had a bad program installation since using it. It doesn't
always get everything (some Zone Alarm data files) the first day, but then
those files are replaced and erased the following day, and so on.
I find it amazing the amount of stuff that gets written there and is still
there even after it's no longer needed. Through forgetfulness (and maybe a
touch of laziness), I managed to not empty it out for weeks on end before I
finally wrote the batch file.
That works for me, but I'm not stating that everyone should go this route.
But if you do, use at your own risk :-)
--
SC Tom

  #8  
Old January 28th 10, 01:07 AM posted to microsoft.public.windowsxp.perform_maintain
Ken Blake, MVP
external usenet poster
 
Posts: 10,402
Default Deleting files in C:\Windows\Temp

On Wed, 27 Jan 2010 19:14:01 -0500, "SC Tom" wrote:


"Ken Blake, MVP" wrote in message
...
On Wed, 27 Jan 2010 12:52:06 -0800, siamoose
wrote:

In my C:\Windows\Temp folder I have 17 folders like this "tmp00001cef"
Each one has different files in them,(for a total of 51 files) ranging
from
0MB to 1.46GB. Total size of them is 48.6 GB.

My question is can I delete these safely? I have no idea what they are
for.



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.

Some people may suggest that you reboot before deleting anything, but
that's not necessary, for the reason described above (on the other
hand, it doesn't hurt to do it).

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


I'm sure what you're saying is probably true, but I've had a batch file that
I run on start-up every day that deletes all the files in my temp folder,
and I have never had a bad program installation since using it.



Yes, it runs after any installations are complete.


It doesn't
always get everything (some Zone Alarm data files) the first day, but then
those files are replaced and erased the following day, and so on.



Yep, as I said.



I find it amazing the amount of stuff that gets written there and is still
there even after it's no longer needed. Through forgetfulness (and maybe a
touch of laziness), I managed to not empty it out for weeks on end before I
finally wrote the batch file.
That works for me, but I'm not stating that everyone should go this route.
But if you do, use at your own risk :-)



There is little if any risk in doing what you do. I think it's fine.


--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
  #9  
Old January 28th 10, 01:07 AM posted to microsoft.public.windowsxp.perform_maintain
Ken Blake, MVP
external usenet poster
 
Posts: 10,402
Default Deleting files in C:\Windows\Temp

On Wed, 27 Jan 2010 19:14:01 -0500, "SC Tom" wrote:


"Ken Blake, MVP" wrote in message
...
On Wed, 27 Jan 2010 12:52:06 -0800, siamoose
wrote:

In my C:\Windows\Temp folder I have 17 folders like this "tmp00001cef"
Each one has different files in them,(for a total of 51 files) ranging
from
0MB to 1.46GB. Total size of them is 48.6 GB.

My question is can I delete these safely? I have no idea what they are
for.



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.

Some people may suggest that you reboot before deleting anything, but
that's not necessary, for the reason described above (on the other
hand, it doesn't hurt to do it).

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


I'm sure what you're saying is probably true, but I've had a batch file that
I run on start-up every day that deletes all the files in my temp folder,
and I have never had a bad program installation since using it.



Yes, it runs after any installations are complete.


It doesn't
always get everything (some Zone Alarm data files) the first day, but then
those files are replaced and erased the following day, and so on.



Yep, as I said.



I find it amazing the amount of stuff that gets written there and is still
there even after it's no longer needed. Through forgetfulness (and maybe a
touch of laziness), I managed to not empty it out for weeks on end before I
finally wrote the batch file.
That works for me, but I'm not stating that everyone should go this route.
But if you do, use at your own risk :-)



There is little if any risk in doing what you do. I think it's fine.


--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup
  #10  
Old January 28th 10, 04:51 AM posted to microsoft.public.windowsxp.perform_maintain
SC Tom[_3_]
external usenet poster
 
Posts: 4,089
Default Deleting files in C:\Windows\Temp

*** reply in line

"Ken Blake, MVP" wrote in message
...
On Wed, 27 Jan 2010 19:14:01 -0500, "SC Tom" wrote:


"Ken Blake, MVP" wrote in message
...
On Wed, 27 Jan 2010 12:52:06 -0800, siamoose
wrote:

In my C:\Windows\Temp folder I have 17 folders like this
"tmp00001cef"
Each one has different files in them,(for a total of 51 files) ranging
from
0MB to 1.46GB. Total size of them is 48.6 GB.

My question is can I delete these safely? I have no idea what they
are
for.


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.

Some people may suggest that you reboot before deleting anything, but
that's not necessary, for the reason described above (on the other
hand, it doesn't hurt to do it).

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


I'm sure what you're saying is probably true, but I've had a batch file
that
I run on start-up every day that deletes all the files in my temp folder,
and I have never had a bad program installation since using it.



Yes, it runs after any installations are complete.


*** I was wondering about that, whether the installation process completes
before any other batch files are run. Since I've never had a problem with
it, I have to assume that's pretty much the way it works.
--
SC Tom




It doesn't
always get everything (some Zone Alarm data files) the first day, but
then
those files are replaced and erased the following day, and so on.



Yep, as I said.



I find it amazing the amount of stuff that gets written there and is
still
there even after it's no longer needed. Through forgetfulness (and maybe
a
touch of laziness), I managed to not empty it out for weeks on end before
I
finally wrote the batch file.
That works for me, but I'm not stating that everyone should go this
route.
But if you do, use at your own risk :-)



There is little if any risk in doing what you do. I think it's fine.


--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


  #11  
Old January 28th 10, 04:51 AM posted to microsoft.public.windowsxp.perform_maintain
SC Tom[_3_]
external usenet poster
 
Posts: 4,089
Default Deleting files in C:\Windows\Temp

*** reply in line

"Ken Blake, MVP" wrote in message
...
On Wed, 27 Jan 2010 19:14:01 -0500, "SC Tom" wrote:


"Ken Blake, MVP" wrote in message
...
On Wed, 27 Jan 2010 12:52:06 -0800, siamoose
wrote:

In my C:\Windows\Temp folder I have 17 folders like this
"tmp00001cef"
Each one has different files in them,(for a total of 51 files) ranging
from
0MB to 1.46GB. Total size of them is 48.6 GB.

My question is can I delete these safely? I have no idea what they
are
for.


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.

Some people may suggest that you reboot before deleting anything, but
that's not necessary, for the reason described above (on the other
hand, it doesn't hurt to do it).

--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


I'm sure what you're saying is probably true, but I've had a batch file
that
I run on start-up every day that deletes all the files in my temp folder,
and I have never had a bad program installation since using it.



Yes, it runs after any installations are complete.


*** I was wondering about that, whether the installation process completes
before any other batch files are run. Since I've never had a problem with
it, I have to assume that's pretty much the way it works.
--
SC Tom




It doesn't
always get everything (some Zone Alarm data files) the first day, but
then
those files are replaced and erased the following day, and so on.



Yep, as I said.



I find it amazing the amount of stuff that gets written there and is
still
there even after it's no longer needed. Through forgetfulness (and maybe
a
touch of laziness), I managed to not empty it out for weeks on end before
I
finally wrote the batch file.
That works for me, but I'm not stating that everyone should go this
route.
But if you do, use at your own risk :-)



There is little if any risk in doing what you do. I think it's fine.


--
Ken Blake, Microsoft MVP (Windows Desktop Experience) since 2003
Please Reply to the Newsgroup


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 09:39 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.