December 14, 2019, 09:46:28 pm
News: If someone gives you crap then give them a Bad Star
Pages: [1]   Go Down
Author Topic: Windows XP and Temp Folders  (Read 2022 times)
Jason Reed
Administrator
*

Stars: +4/-0
Offline Offline

Gender: Male
Posts: 4523


Pure Evil Administrator


WWW
« on: July 22, 2009, 08:07:18 am »

I usually try to keep my temp folder managed in my user profile on my laptop. It is amazing how many computer programs don't actually clean up their temp files.

Today I decided instead of doing it the old fashion way of CTRL + A then SHIFT + DEL over and over again (get stopped because some files are still in use) I would work on an application to clean it for me (and just to ignore those files that are in use).

So I started looking into how to access the Temp folder a little better and then I noticed that there are two system variables for Windows XP to handle temp.

One is assigned for my user which makes sense since I thought it stored everything under my temp folder. Then I noticed under the System side there is one to C:\Windows\Temp.

Now I can only guess that this is for services that run under "Local System" permissions and such.

Now the question I have is is it safe to enter the C:\Windows\Temp directory and delete files?
Logged

-- signature --

wrack
Master of TMEOotAP
*

Stars: +3/-0
Offline Offline

Posts: 11116


Don't look back. Look in the mirror to look back.


WWW
« Reply #1 on: July 22, 2009, 10:35:27 am »

Yes you can totally delete the C:\Windows\Temp directory.
Logged

Pages: [1]   Go Up
Print
 
Jump to: