*.tmp files in C:\Documents and Settings\...

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Guest
WinXP Pro SP2 all MS updates
Laptop
80GB primary/65GB used; 160GB secondary USB/135GB used (both ATA, not SATA)
C:\Documents and Settings\UserID.DomainName\Local Settings\Temp

I've recently noticed about 100MB of *.tmp files and others in the above set
of directories. Many of these files are dated before 2008 or essentially
before the last cold boot into the WinXP OS. Is it ok to delete these files
en-mass? Like ALL of them? What's the pro/con on it besides making me feel
like I've recovered 100MB of disk space?
As a general question, what files under C:\...\Local Settings\Temp\ should I
keep?
[I have some directories named: _SkypeIEToolbar_Cache; Acrobat Distiller 6;
Adobe; CitrixLogs; ...; outlook logging; wz5144 (for WinZip 11.1 I think)
I also have the Local Settings\Temporary Internet Files directory...
TIA!
 
RE: *.tmp files in C:\Documents and Settings\...

Try run,type:%Temp% go to edit,select all,delete all,close out.Return to
run,
type:C:\WINDOWS\Temp Edit,select all,delete all,close.In windows Temp,not
all can be delete (some in use),click ok,exit,empty recycle-bin..All these
files
are obsolete,as they were/are installation files that are no longer used..The
risk,none,actually microsoft recommends this proccedure.

"Tom" wrote:

> WinXP Pro SP2 all MS updates
> Laptop
> 80GB primary/65GB used; 160GB secondary USB/135GB used (both ATA, not SATA)
> C:\Documents and Settings\UserID.DomainName\Local Settings\Temp
>
> I've recently noticed about 100MB of *.tmp files and others in the above set
> of directories. Many of these files are dated before 2008 or essentially
> before the last cold boot into the WinXP OS. Is it ok to delete these files
> en-mass? Like ALL of them? What's the pro/con on it besides making me feel
> like I've recovered 100MB of disk space?
> As a general question, what files under C:\...\Local Settings\Temp\ should I
> keep?
> [I have some directories named: _SkypeIEToolbar_Cache; Acrobat Distiller 6;
> Adobe; CitrixLogs; ...; outlook logging; wz5144 (for WinZip 11.1 I think)
> I also have the Local Settings\Temporary Internet Files directory...
> TIA!
 
Re: *.tmp files in C:\Documents and Settings\...

"Tom" <Tom@discussions.microsoft.com> wrote in message
news:5D4DAFE8-8E88-4E87-895B-FF15CA6111FA@microsoft.com...
> WinXP Pro SP2 all MS updates
> Laptop
> 80GB primary/65GB used; 160GB secondary USB/135GB used (both ATA, not
> SATA)
> C:\Documents and Settings\UserID.DomainName\Local Settings\Temp
>
> I've recently noticed about 100MB of *.tmp files and others in the above
> set
> of directories. Many of these files are dated before 2008 or essentially
> before the last cold boot into the WinXP OS. Is it ok to delete these
> files
> en-mass? Like ALL of them? What's the pro/con on it besides making me
> feel
> like I've recovered 100MB of disk space?
> As a general question, what files under C:\...\Local Settings\Temp\ should
> I
> keep?
> [I have some directories named: _SkypeIEToolbar_Cache; Acrobat Distiller
> 6;
> Adobe; CitrixLogs; ...; outlook logging; wz5144 (for WinZip 11.1 I think)
> I also have the Local Settings\Temporary Internet Files directory...
> TIA!


After a fresh boot you can delete them all.

--
Frank Saunders MS-MVP IE,OE/WM
www.fjsmjs.com
Do not reply with email
 
Re: *.tmp files in C:\Documents and Settings\...

Even after a reboot, won't there be temporary "this boot time" files as *.tmp?
Thanks!

"Frank Saunders MS-MVP IE,OE/WM" wrote:

> "Tom" <Tom@discussions.microsoft.com> wrote in message
> news:5D4DAFE8-8E88-4E87-895B-FF15CA6111FA@microsoft.com...
> > WinXP Pro SP2 all MS updates
> > Laptop
> > 80GB primary/65GB used; 160GB secondary USB/135GB used (both ATA, not
> > SATA)
> > C:\Documents and Settings\UserID.DomainName\Local Settings\Temp
> >
> > I've recently noticed about 100MB of *.tmp files and others in the above
> > set
> > of directories. Many of these files are dated before 2008 or essentially
> > before the last cold boot into the WinXP OS. Is it ok to delete these
> > files
> > en-mass? Like ALL of them? What's the pro/con on it besides making me
> > feel
> > like I've recovered 100MB of disk space?
> > As a general question, what files under C:\...\Local Settings\Temp\ should
> > I
> > keep?
> > [I have some directories named: _SkypeIEToolbar_Cache; Acrobat Distiller
> > 6;
> > Adobe; CitrixLogs; ...; outlook logging; wz5144 (for WinZip 11.1 I think)
> > I also have the Local Settings\Temporary Internet Files directory...
> > TIA!

>
> After a fresh boot you can delete them all.
>
> --
> Frank Saunders MS-MVP IE,OE/WM
> www.fjsmjs.com
> Do not reply with email
>
>
 
Re: *.tmp files in C:\Documents and Settings\...



"Tom" wrote:

> Even after a reboot, won't there be temporary "this boot time" files as *.tmp?
> Thanks!
>

Like Andrew E said, you will not be able to delete the files that are
being used.

You should be able to delete all the others.

Serge
 
Re: *.tmp files in C:\Documents and Settings\...

On Sun, 2 Mar 2008 17:59:00 -0800
Tom <Tom@discussions.microsoft.com> wrote:

> WinXP Pro SP2 all MS updates
> Laptop
> 80GB primary/65GB used; 160GB secondary USB/135GB used (both ATA, not
> SATA) C:\Documents and Settings\UserID.DomainName\Local Settings\Temp
>
> I've recently noticed about 100MB of *.tmp files and others in the
> above set of directories. Many of these files are dated before 2008
> or essentially before the last cold boot into the WinXP OS. Is it ok
> to delete these files en-mass? Like ALL of them? What's the pro/con
> on it besides making me feel like I've recovered 100MB of disk space?
> As a general question, what files under C:\...\Local Settings\Temp\
> should I keep?
> [I have some directories named: _SkypeIEToolbar_Cache; Acrobat
> Distiller 6; Adobe; CitrixLogs; ...; outlook logging; wz5144 (for
> WinZip 11.1 I think) I also have the Local Settings\Temporary
> Internet Files directory... TIA!

From the command prompt
del %temp% /q /f /s
in use file will not be deleted, the rest will be gone.


--
Live & let live, or leave.
:-)
 
Re: *.tmp files in C:\Documents and Settings\...

"Tom" <Tom@discussions.microsoft.com> wrote in message
news:A2E5D7DD-24F3-4CF5-865F-015E0DAA59C0@microsoft.com...
> Even after a reboot, won't there be temporary "this boot time" files as
> *.tmp?



Depending on what you have running at startup there may be a few you can't
delete. The reason for the fresh boot is that many installs will place
files in Temp to be installed during the next boot. If they aren't gone
after a fresh boot they aren't needed anymore.

--
Frank Saunders MS-MVP IE,OE/WM
www.fjsmjs.com
Do not reply with email
 
Re: *.tmp files in C:\Documents and Settings\...

Do you know if this also works in a Windows 2003 Server and Windows Vista
(Home or Ultimate/Business) environment? I need to ask before I get myself
in trouble! ;-)
Great command! Are there others that I might need or should know about?
TIA!
Tom

"Holz" wrote:

> On Sun, 2 Mar 2008 17:59:00 -0800
> Tom <Tom@discussions.microsoft.com> wrote:
>
> > WinXP Pro SP2 all MS updates
> > Laptop
> > 80GB primary/65GB used; 160GB secondary USB/135GB used (both ATA, not
> > SATA) C:\Documents and Settings\UserID.DomainName\Local Settings\Temp
> >
> > I've recently noticed about 100MB of *.tmp files and others in the
> > above set of directories. Many of these files are dated before 2008
> > or essentially before the last cold boot into the WinXP OS. Is it ok
> > to delete these files en-mass? Like ALL of them? What's the pro/con
> > on it besides making me feel like I've recovered 100MB of disk space?
> > As a general question, what files under C:\...\Local Settings\Temp\
> > should I keep?
> > [I have some directories named: _SkypeIEToolbar_Cache; Acrobat
> > Distiller 6; Adobe; CitrixLogs; ...; outlook logging; wz5144 (for
> > WinZip 11.1 I think) I also have the Local Settings\Temporary
> > Internet Files directory... TIA!

> From the command prompt
> del %temp% /q /f /s
> in use file will not be deleted, the rest will be gone.
>
>
> --
> Live & let live, or leave.
> :-)
>
>
 
Re: *.tmp files in C:\Documents and Settings\...

"Tom" <Tom@discussions.microsoft.com> wrote in message
news:5D4DAFE8-8E88-4E87-895B-FF15CA6111FA@microsoft.com...
> WinXP Pro SP2 all MS updates
> Laptop
> 80GB primary/65GB used; 160GB secondary USB/135GB used (both ATA, not
> SATA)
> C:\Documents and Settings\UserID.DomainName\Local Settings\Temp
>
> I've recently noticed about 100MB of *.tmp files and others in the above
> set
> of directories. Many of these files are dated before 2008 or essentially
> before the last cold boot into the WinXP OS. Is it ok to delete these
> files
> en-mass? Like ALL of them? What's the pro/con on it besides making me
> feel
> like I've recovered 100MB of disk space?
> As a general question, what files under C:\...\Local Settings\Temp\ should
> I
> keep?
> [I have some directories named: _SkypeIEToolbar_Cache; Acrobat Distiller
> 6;
> Adobe; CitrixLogs; ...; outlook logging; wz5144 (for WinZip 11.1 I think)
> I also have the Local Settings\Temporary Internet Files directory...
> TIA!


The easiest way to clear all of these at once is to use ccleaner:
www.ccleaner.com

It's small and fast and free.

Pay attention to the options, as it may also remove cookies that you want to
keep.

HTH
-pk
 
Re: *.tmp files in C:\Documents and Settings\...

"Patrick Keenan" <test@dev.null> wrote:

>The easiest way to clear all of these at once is to use ccleaner:
>www.ccleaner.com
>
>It's small and fast and free.
>
>Pay attention to the options, as it may also remove cookies that you want to
>keep.


One of the BEST features of this program is that you can CHOOSE which
cookies to keep... all the rest will be deleted during cleanup.
 
Re: *.tmp files in C:\Documents and Settings\...

On Mar 3, 8:35 am, Tom <T...@discussions.microsoft.com> wrote:
> Do you know if this also works in a Windows 2003 Server and Windows Vista
> (Home or Ultimate/Business) environment?  I need to ask before I get myself
> in trouble!  ;-)
> Great command!  Are there others that I might need or should know about?
> TIA!
> Tom



Actually Yes! I run a batch file on XP, Vista, and Win2K3 boxes all
the time. I'll just post my code and you can make a batch file.
Code will start below the equals signs and will end with equal signs.
The first one is for XP and Win2k3. The #2 will be for Vista.

#1 Code for XP and Win2k3
==============================================================================================
@echo off
cls
title Clean My PC for Vista By Matt Bramer
color 0E

echo Start Time is %time%

Echo ********* Removing All Temp Files and Cookies for IE
*************
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

Echo.
Echo Removal of All Temp Files and Cookies for IE has Completed!

Echo.
Echo.
Echo.


Echo ********* Removing PC Temporary Files **********
rmdir /S /Q "%userprofile%\Local Settings\Temp" 2>Nul
mkdir "%userprofile%\Local Settings\Temp" 2>Nul


rmdir /S /Q %windir%\Temp 2>Nul
mkdir %windir%\Temp 2>Nul


c:\windows\system32\cleanmgr.exe /dc /sagerun: 1

Echo.
Echo Removal of PC Temporary Files has Completed!

Echo.
Echo.
Echo.


Echo ********* Defragging Hard Drive **************
defrag C: -f -v

Echo Finish Time is %time%
pause

exit
==============================================================================================




#2 Code for Vista, maybe will work for Win2k8 but not tested*****
==============================================================================================
@echo off
cls
title Clean My PC for Vista By Matt Bramer
color 0E

echo Start Time is %time%

Echo.
Echo.


Echo ********* Removing All Temp Files and Cookies for IE
*************
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

Echo.
Echo Removal of Temp Files are Complete!

Echo.
Echo.
Echo.


Echo ********* Removing PC Temporary Files **********
rmdir /S /Q %userprofile%\AppData\Local\Temp 2>Nul
mkdir %userprofile%\AppData\Local\Temp 2>Nul


rmdir /S /Q %windir%\Temp 2>Nul
mkdir %windir%\Temp 2>Nul


c:\windows\system32\cleanmgr.exe /dc /sagerun: 1

Echo.
Echo Removal of PC Temporary Files Complete!

Echo.
Echo.
Echo.



Echo ********* Vista Defrag All Drives **************
defrag C: -w -f -v


echo Finish Time is %time%

Pause
exit

==============================================================================================

I hope this will save you some time in the future.

Regards,
Matt
 
Back
Top