PC Review


Reply
Thread Tools Rate Thread

Can I dlelete the entire temp directory

 
 
mm
Guest
Posts: n/a
 
      9th Dec 2009
I found not merely a file but a whole directory called temp
somewhere deep in the Documents and Settings\user\Local Settngs
directory of win2000 (and winxp fwiw).

Can I delete everything in it, that is everything that is more than a
week old? Since it's called "temp".

(The truth is I might not delete this stuff, but I've been backing it
up, and I want to delete .tmp files from my back-up drive. But the
thought of a whole directory named temp filled with .tmp files, but
also .cab files and .exe files, scares me.)

Thanks
 
Reply With Quote
 
 
 
 
mm
Guest
Posts: n/a
 
      9th Dec 2009
On Tue, 08 Dec 2009 21:35:30 -0500, mm <(E-Mail Removed)>
wrote:

>I found not merely a file but a whole directory called temp
>somewhere deep in the Documents and Settings\user\Local Settngs
>directory of win2000 (and winxp fwiw).
>
>Can I delete everything in it, that is everything that is more than a
>week old? Since it's called "temp".


And what about .tmp files marked Read Only and some others marked
System File. How can a .tmp file be a system file???????





>(The truth is I might not delete this stuff, but I've been backing it
>up, and I want to delete .tmp files from my back-up drive. But the
>thought of a whole directory named temp filled with .tmp files, but
>also .cab files and .exe files, scares me.)
>
>Thanks


 
Reply With Quote
 
Dave Patrick
Guest
Posts: n/a
 
      9th Dec 2009
With no application installs pending and after restart you can empty the
\temp directory.


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"mm" wrote:
>I found not merely a file but a whole directory called temp
> somewhere deep in the Documents and Settings\user\Local Settngs
> directory of win2000 (and winxp fwiw).
>
> Can I delete everything in it, that is everything that is more than a
> week old? Since it's called "temp".
>
> (The truth is I might not delete this stuff, but I've been backing it
> up, and I want to delete .tmp files from my back-up drive. But the
> thought of a whole directory named temp filled with .tmp files, but
> also .cab files and .exe files, scares me.)
>
> Thanks


 
Reply With Quote
 
Mohan...
Guest
Posts: n/a
 
      9th Dec 2009
mm wrote:
> I found not merely a file but a whole directory called temp
> somewhere deep in the Documents and Settings\user\Local Settngs
> directory of win2000 (and winxp fwiw).
>
> Can I delete everything in it, that is everything that is more than a
> week old? Since it's called "temp".
>
> (The truth is I might not delete this stuff, but I've been backing it
> up, and I want to delete .tmp files from my back-up drive. But the
> thought of a whole directory named temp filled with .tmp files, but
> also .cab files and .exe files, scares me.)
>
> Thanks


The Temp folder is used by Windows, some applications during install to
unpack installers, and many applications when being run. Some delete on
exit, but most leave them out. These can be safely deleted (excepting
those dated today that may be in use), and if left as is, continue to
bloat and consume enormous disk space. There is no need to back them up.

Do not delete the Folder itself, only the contents! Close all running
programs, and run the Windows Disk Cleanup periodically (Start/ Run/
Cleanmgr "OR" Start/ Run/ Programs/ System tools/ Disk Cleanup)

There are many nice third-party utilities as well. "CleanIt" from
http://www.silmarilsoftware.com/cleanit/index_eng.htm deletes the
contents each time Windows starts (after a confirmation on the directory
path during the first run). "CCleaner" is another app. to clear both
this and the "WinNT\Temp" folder manually.

Mohan...
 
Reply With Quote
 
mm
Guest
Posts: n/a
 
      9th Dec 2009
On Wed, 09 Dec 2009 11:56:15 +0530, "Mohan..." <(E-Mail Removed)4>
wrote:

>mm wrote:
>> I found not merely a file but a whole directory called temp
>> somewhere deep in the Documents and Settings\user\Local Settngs
>> directory of win2000 (and winxp fwiw).
>>
>> Can I delete everything in it, that is everything that is more than a
>> week old? Since it's called "temp".
>>
>> (The truth is I might not delete this stuff, but I've been backing it
>> up, and I want to delete .tmp files from my back-up drive. But the
>> thought of a whole directory named temp filled with .tmp files, but
>> also .cab files and .exe files, scares me.)
>>
>> Thanks

>
>The Temp folder is used by Windows, some applications during install to
>unpack installers, and many applications when being run. Some delete on
>exit, but most leave them out. These can be safely deleted (excepting
>those dated today that may be in use), and if left as is, continue to
>bloat and consume enormous disk space. There is no need to back them up.


Good to know. Actually, I have to make extra efforts to not back
something up. In fact, so far, I've only stopped backing up .tmp
files. I have to read the instructions for XXCOPY again about how to
exclude a "temp" directory, especially since the fully qualified name
includes a user name, that varies from harddrive to harddrive. I'm
trying to use the same Exclusion File for any hard drive I back up,
and they all have different users. (A friend's before I work on it;
one of mine still in the name of the guy who gave it to me, etc.)
But I'll get it

This is more than you needed to know. Sorry.

>Do not delete the Folder itself, only the contents! Close all running
>programs, and run the Windows Disk Cleanup periodically (Start/ Run/
>Cleanmgr "OR" Start/ Run/ Programs/ System tools/ Disk Cleanup)
>
>There are many nice third-party utilities as well. "CleanIt" from
>http://www.silmarilsoftware.com/cleanit/index_eng.htm deletes the
>contents each time Windows starts (after a confirmation on the directory
>path during the first run). "CCleaner" is another app. to clear both
>this and the "WinNT\Temp" folder manually.
>
>Mohan...


Thanks to you and to Dave.
 
Reply With Quote
 
Sid Elbow
Guest
Posts: n/a
 
      9th Dec 2009
Mohan... wrote:

> Do not delete the Folder itself, only the contents!


I would have assumed that Windows would be smart enough to re-create the
temp directory if it had been deleted - in fact I'm sure earlier
versions did.
 
Reply With Quote
 
mm
Guest
Posts: n/a
 
      9th Dec 2009
On Wed, 09 Dec 2009 10:04:44 -0500, Sid Elbow <(E-Mail Removed)> wrote:

>Mohan... wrote:
>
>> Do not delete the Folder itself, only the contents!

>
>I would have assumed that Windows would be smart enough to re-create the
>temp directory if it had been deleted - in fact I'm sure earlier
>versions did.


But if it doesn't, then there are files and broken files all over the
inside of the computer. I would just let them sit there, but my wife
insists on cleaning up. Once she insisted we open the harddrive to
clean up the broken files in that.
 
Reply With Quote
 
Mohan...
Guest
Posts: n/a
 
      9th Dec 2009
Sid Elbow wrote:
> Mohan... wrote:
>
>> Do not delete the Folder itself, only the contents!

>
> I would have assumed that Windows would be smart enough to re-create the
> temp directory if it had been deleted - in fact I'm sure earlier
> versions did.


It probably would recreate (for being an environment variable) if
deleting the entire folder is immediately followed by a reboot. May not
be safe to delete while continuing to work, as even the harmless things
like printers/scanners keep writing some temporary stuff.

I remember with Win98, it was possible to insert a line into
Autoexec.bat to delete the contents, or delete the Temp folder itself,
with a next line to recreate using MakeDir, as the whole thing would run
before Windows loaded. But that probably doesn't work with later versions.

Thanks
Mohan...
 
Reply With Quote
 
Buffalo
Guest
Posts: n/a
 
      9th Dec 2009


mm wrote:
> On Wed, 09 Dec 2009 10:04:44 -0500, Sid Elbow <(E-Mail Removed)> wrote:
>
>> Mohan... wrote:
>>
>>> Do not delete the Folder itself, only the contents!

>>
>> I would have assumed that Windows would be smart enough to re-create
>> the temp directory if it had been deleted - in fact I'm sure earlier
>> versions did.

>
> But if it doesn't, then there are files and broken files all over the
> inside of the computer. I would just let them sit there, but my wife
> insists on cleaning up. Once she insisted we open the harddrive to
> clean up the broken files in that.


You don't have to open up the HDD, all you have to do is put it in the
dishwasher to clean it up.
Buffalo


 
Reply With Quote
 
John Dulak
Guest
Posts: n/a
 
      9th Dec 2009
Buffalo wrote:
> mm wrote:
>> On Wed, 09 Dec 2009 10:04:44 -0500, Sid Elbow <(E-Mail Removed)> wrote:
>>
>>> Mohan... wrote:
>>>
>>>> Do not delete the Folder itself, only the contents!
>>> I would have assumed that Windows would be smart enough to re-create
>>> the temp directory if it had been deleted - in fact I'm sure earlier
>>> versions did.

>> But if it doesn't, then there are files and broken files all over the
>> inside of the computer. I would just let them sit there, but my wife
>> insists on cleaning up. Once she insisted we open the harddrive to
>> clean up the broken files in that.

>
> You don't have to open up the HDD, all you have to do is put it in the
> dishwasher to clean it up.
> Buffalo
>
>


Buffalo:

If you want to do it by hand there are step by step instructions with
pictures here ;-)

http://www.datadocktorn.nu/us_frag1.php

John


--
\\\||///
------------------o000----(o)(o)----000o----------------
----------------------------()--------------------------
'' Madness takes its toll - Please have exact change. ''

John Dulak - 40.4913ºN,79.904ºW - http://tinyurl.com/2qs6o6
 
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
Temp files in User's Temp Directory shubhishubhi Windows XP General 2 2nd Jun 2008 10:31 PM
Using the windows\temp folder for programs? (or use what temp directory in its place)? Bill in Co. Windows XP General 10 25th Jan 2008 04:30 AM
Installing an Application copies entire CD to temp directory =?Utf-8?B?YmdpbGxl?= Windows Vista Performance 2 28th Feb 2007 06:49 PM
Create temp file in users temp directory Adrian Microsoft Access Form Coding 1 28th Jan 2005 12:26 PM
converting entire directory of images to directory of thumbnails =?Utf-8?B?YmlyZG1hbg==?= Microsoft Frontpage 5 18th Jul 2004 08:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:00 PM.