Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Temp dictory can be emptied, yes?

Reply
Thread Tools Display Modes

Temp dictory can be emptied, yes?

 
 
Rick Charnes
Guest
Posts: n/a

 
      06-26-2007
Running Vista Home Premium, it's ok to delete the contents of my
C:\Users\owner\AppData\Local\Temp\ directory other than those from the
current session, yes? I see a huge number of files and folders in it.
Thanks.

 
Reply With Quote
 
 
 
 
R. McCarty
Guest
Posts: n/a

 
      06-26-2007
Yes, best done immediately after a boot up. Select All, Delete.
Some folder/files will not be removable, due to File locks - Just
select the "Skip" option for those. For some users, I recommend
creating a shortcut to that folder and then periodically removing
the workspace content that has built up.

"Rick Charnes" <> wrote in message
news:urzQDY%...
> Running Vista Home Premium, it's ok to delete the contents of my
> C:\Users\owner\AppData\Local\Temp\ directory other than those from the
> current session, yes? I see a huge number of files and folders in it.
> Thanks.



 
Reply With Quote
 
Ken Blake, MVP
Guest
Posts: n/a

 
      06-26-2007
On Tue, 26 Jun 2007 07:34:50 -0400, "Rick Charnes"
<> wrote:

> Running Vista Home Premium, it's ok to delete the contents of my
> C:\Users\owner\AppData\Local\Temp\ directory other than those from the
> current session, yes? I see a huge number of files and folders in it.



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.

--
Ken Blake, Microsoft MVP Windows - Shell/User
Please Reply to the Newsgroup
 
Reply With Quote
 
Bill Yanaire
Guest
Posts: n/a

 
      06-26-2007
Is there a way to have the temp directory cleaned each time you start the
computer?
I have changed the location of my TEMP directory to C:\TEMP. In the
environment settings I pointed both TMP and TEMP to C:|TEMP so it is easier
for me to get there, but if there was a startup macro or something that
could run, I could just fuggetaboutit!


"Rick Charnes" <> wrote in message
news:urzQDY%...
> Running Vista Home Premium, it's ok to delete the contents of my
> C:\Users\owner\AppData\Local\Temp\ directory other than those from the
> current session, yes? I see a huge number of files and folders in it.
> Thanks.



 
Reply With Quote
 
Ronnie Vernon MVP
Guest
Posts: n/a

 
      06-26-2007
Rick

Yes, these files can be deleted. Best way is to use the Disk Cleanup wizard.

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"Rick Charnes" <> wrote in message
news:urzQDY%...
> Running Vista Home Premium, it's ok to delete the contents of my
> C:\Users\owner\AppData\Local\Temp\ directory other than those from the
> current session, yes? I see a huge number of files and folders in it.
> Thanks.


 
Reply With Quote
 
Max
Guest
Posts: n/a

 
      06-27-2007
Get a copy of deltree.exe from your older DOS or Windows installation and
copy to /Windows or /Windows/System32.
Make a batch file in notepad:
Deltree /y c:\temp\*.*
Be careful--deltree, using the 'y' switch, will delete everything after it
specified in the path with no confirmation--including entire folders.
Save it with a .bat extension to the same folder as deltree.exe.
Put a shortcut to it in Startup (you may have to adjust the properties of
the shortcut to Run as Admin, etc).
If you like, you can also use Task Scheduler to run it at specific times.


--
Maxwell Bluemeanie
----
"Bill Yanaire" <> wrote in message
news:%...
> Is there a way to have the temp directory cleaned each time you start the
> computer?
> I have changed the location of my TEMP directory to C:\TEMP. In the
> environment settings I pointed both TMP and TEMP to C:|TEMP so it is
> easier for me to get there, but if there was a startup macro or something
> that could run, I could just fuggetaboutit!
>
>
> "Rick Charnes" <> wrote in message
> news:urzQDY%...
>> Running Vista Home Premium, it's ok to delete the contents of my
>> C:\Users\owner\AppData\Local\Temp\ directory other than those from the
>> current session, yes? I see a huge number of files and folders in it.
>> Thanks.

>
>


 
Reply With Quote
 
 
 
Reply

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

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
restore emptied recycle bin Dennis Windows Vista General Discussion 8 01-05-2008 03:12 PM
deleted files in err and emptied recycle bin beanie Windows Vista File Management 3 11-12-2007 05:25 PM
emptied deleted messages watermelons8 Windows Vista File Management 6 10-22-2007 04:15 AM
Recycle bin cannot be emptied Microsoft Beta Windows Vista General Discussion 2 09-08-2007 06:50 PM
RE: My Documents folder being emptied mj Windows Vista File Management 0 03-19-2007 05:14 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59