Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 08, 2016, 06:00:43 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: Deleting Files From the ..\Local Settings\Temp\ Folder  (Read 49029 times)

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #25 on: February 02, 2008, 08:25:55 AM »
I advise caution. Some naughty programmes place installation files in the user %temp% folder that are essential for the operation of the programme (and in their absence require re-installation) or successful uninstallation of the programme. Extremely irritating  :down:
"Some people have a way with words, other people,... oh... have not way" - Steve Martin

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,913
    • View Profile
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #26 on: February 02, 2008, 01:46:26 PM »
I advise caution. Some naughty programmes place installation files in the user %temp% folder that are essential for the operation of the programme (and in their absence require re-installation) or successful uninstallation of the programme. Extremely irritating  :down:

Darwin,

I do realize that this is a possible consequence of deleting the temp files, but at 5 GB and still growing I really had to just bite the bullet and do it! As for those developers who put the reinstall files in there, well I guess I just won't be able to reinstall from there. And if I find any in particular I will definitely write them and let them know what I think of the practice.

Not that they will listen to me, of course. But it'll get it off my chest, and of they do hear that enough from their users, you never know - it might just affect their future behavior!

Thanks.

Jim

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #27 on: February 02, 2008, 02:29:10 PM »
Not that they will listen to me, of course. But it'll get it off my chest, and of they do hear that enough from their users, you never know - it might just affect their future behavior!

 ;D There are two on my system for sure that do this and I've only received a response from the $20 one... The $2000 hasn't deigned to respond!
"Some people have a way with words, other people,... oh... have not way" - Steve Martin

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,913
    • View Profile
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #28 on: February 02, 2008, 02:40:04 PM »
... ;D There are two on my system for sure that do this and I've only received a response from the $20 one... The $2000 hasn't deigned to respond!

I almost hesitate to ask - but I'll go ahead anyway!

What the heck software cost you $2,000?!?!?!  :o

Jim

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,258
    • View Profile
    • Coding Snacks by Lanux128
    • Read more about this member.
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #29 on: February 03, 2008, 09:51:28 PM »
use a software like SpaceMonger to find out which folder/file is taking the most space. i've heard that Microsoft Office's install log can substantial in size..

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,913
    • View Profile
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #30 on: February 03, 2008, 11:10:36 PM »
I use TreeSize Personal version - a paid version, though they also have a free version.  Sounds like a similar program.

Jim

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #31 on: February 03, 2008, 11:50:54 PM »
Well... $2000 includes a couple of extensions, but ArcGIS 9.1 would have cost me in the neighbourhood of that had I had to pay full price (thank goodness for academic licencing, which brought the cost down to about $730)... I'd have to buy 9.2 to have a Vista compatible version as well!
"Some people have a way with words, other people,... oh... have not way" - Steve Martin

BC5

  • Participant
  • Joined in 2008
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #32 on: August 18, 2008, 11:29:58 AM »
Hi I'd like to delete the files in my Temp Folder located in Local Settings. I read the discussions above and decided to reboot my computer and then delete all files before today located in the Temp folder. No other program was running (except my Anti-Virus which is always running when my computer is on).

When I tried to delete the files, I got a prompt for some files saying they were "Read Only", so I don't go ahead with the deletion and thought I'd seek your opinion about such files. Thanks.

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #33 on: August 18, 2008, 12:38:13 PM »
Hi BC5, I'd delete the old files that you CAN delete and leave the read-only ones alone. Unfortunately, this means that you'll have to make a note of each read-only file as the error messages appear and not select them during the next delete run...
"Some people have a way with words, other people,... oh... have not way" - Steve Martin

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #34 on: August 18, 2008, 12:40:59 PM »
PS I'm sure there is some command line instruction that you can invoke to automate this (ie skip the read-only files and continue with the deletion of everything else), but I'm too rusty on my command line syntax to even know how to begin...

Good luck!
"Some people have a way with words, other people,... oh... have not way" - Steve Martin

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,368
    • View Profile
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #35 on: August 18, 2008, 01:38:17 PM »
PS I'm sure there is some command line instruction that you can invoke

!!! THIS WILL WIPE YOU OUT IF YOU MAKE A MISTAKE
DO NOT USE THIS UNLESS  YOU ARE VERY, VERY SURE !!!


KILL EVERYTHING THAT'S UNPROTECTED
Off the top of my head, from a cmd prompt
del /S /Y <path to Temp Folder located in Local Settings>
(leaves empty folders)

from 4NT
del /S /X /Y <path to Temp Folder located in Local Settings>


!!! THIS WILL WIPE YOU OUT IF YOU MAKE A MISTAKE
DO NOT USE THIS UNLESS  YOU ARE VERY, VERY SURE !!!


Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #36 on: August 18, 2008, 02:36:46 PM »
Thanks, Chris (I think  :o)!
"Some people have a way with words, other people,... oh... have not way" - Steve Martin

cmpm

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 2,025
    • View Profile
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #37 on: August 18, 2008, 02:38:21 PM »
The only problem I've ever had was having to re enter passwords being on web pages. In the past when I was using Google's browser Sync.

I went back to Foxmarks and it's not a problem anymore.

I use Cleanup!, ATF-Cleaner and Ccleaner.
Not necessarily in that order.
Plus GlaryUtilities, RegSeeker and AdvancedPersonalCarev2 at times.

Cleanup! is the deepest cleaner, prompting to log off to complete the clean. Which also makes it the most volatile if you don't know what you are cleaning out.

Most of the time I just use ATF-Cleaner and that's enough.
I run Ccleaner's registry scan to see how it's doing.
If it finds a lot I'll use RegSeeker which cleans deeper.

Anyway, for me and my computers it takes a load off the cpu by 5-40% at variable times. 40% - 80% spikes mainly. After cleaning I idle at arounnd 5% as opposed to 5-40% and more before cleaning.

The difference is noticeable on these two p3's, though I doubt if a core duo or quad would notice.

I have had nothing bad happen with all these tools in using either one or all of them.

One Cleaner will not get it all. I know because I can run one then another and pick up more. Files and registry entries.

Make a backup of your registry before cleaning it, to be sure you won't mess something up. I don't anymore, being confident in the tools. But with some other programs that I don't have and others do, I'd backup the registry.

As opposed to most techs advice they would say don't clean the registry. I do and see a difference in performance. So it depends on the person, computer and programs I suppose.

fodder's advice is sound for sure. Especially with installing programs, which is why I always 'download' instead of 'run' which operates out of the temp files. Downloading the program, by way of 'Run' downloads to the temp files and installing from there could make your temp files more important then they should be.

That's my opinion and experience.
People with thousands invested in programs would be wise to have 1 or more full backups of the entire system.
Worth the price of a duplicate Hard Drive of the same size imo.
« Last Edit: August 18, 2008, 02:56:34 PM by cmpm »

Darwin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,984
    • View Profile
    • Read more about this member.
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #38 on: August 18, 2008, 03:30:25 PM »
People with thousands invested in programs would be wise to have 1 or more full backups of the entire system.
Worth the price of a duplicate Hard Drive of the same size imo.

Cheeky monkey  ;D I do image my HD daily - keeps me from a lot of grief! Of course, it was a hard-learned lesson... Actually, it was mouser's review of imaging and backup software that brought me to DC a few years ago. Of course, I had already purchased both Acronis TrueImage and Genie Backup Manager Pro and missed on what could have been my first DC discounts! Interesting that over that period of time, Genie Backup Manger Pro has introduced the ability to image a harddrive and Acronis TrueImage the ability to backup individual files and folders... FWIW, today I use Acronis TrueImage and Super Flexible File Synchronizer... GBM Pro has been relegated to the digital scrap heap (for now).
"Some people have a way with words, other people,... oh... have not way" - Steve Martin

nimi

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #39 on: February 16, 2009, 03:05:04 PM »
And how about that ??
66 GB in the temp user folder..

Is it a bird ? Is it an airplane ? Is it a virus?
and most importent, Can i delete it safetly ?

Thanks

N.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,029
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #40 on: February 16, 2009, 03:19:58 PM »
69gig exe file? O_o

I'd run a chkdsk /f on the partition before doing anything else.
- carpe noctem

nimi

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #41 on: February 17, 2009, 12:55:43 AM »
did that. nothing came out' i'v just deleted it. too spooky...
Thanks !

J-Mac

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 2,913
    • View Profile
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #42 on: February 17, 2009, 01:47:11 AM »
did that. nothing came out' i'v just deleted it. too spooky...
Thanks !

That is a frightening file! You'd think that it has to be a mistake, but what the heck could cause that? Did you try to scan it with an A/V program? Don’t know how long that might take!  :o

Jim

majoMO

  • Participant
  • Joined in 2007
  • *
  • default avatar
  • Posts: 45
    • View Profile
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #43 on: February 17, 2009, 12:10:54 PM »
BTW, can someone tell me how to clean the %temp% folder - with command line - but only the files older than 48 hours?

What kind of command I need to do? Thanks in advance.

 :-[

Ehtyar

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,237
    • View Profile
    • Donate to Member
Re: Deleting Files From the ..\Local Settings\Temp\ Folder
« Reply #44 on: February 17, 2009, 01:13:39 PM »
One of the first Perl scripts I ever wrote was one that deletes everything older than 2 weeks from temp. Never had a problem.

Ehtyar.