Temp Files

V

Vince

Hello:
In windows 98 there is a folder called C:\windows\temp which it is ok to
delete the contents of since they are just temp files.

Now in XP there is the same folder but also a folder called temp under local
settings of each user. When you run the disk cleanup it only deletes files
from the temp folder in the local user folder.

Is it ok to delete the temp files from one or both of these folders when
using XP?

Thanks
 
K

Kelly

Temp is Temp......some programs, for reasons due, will not perform as needed
after doing so.
 
D

David Candy

Yes. C:\windows\temp is used when no user is logged in or the user doesn't have a profile (some programs require their own user accounts).

Each item in the cleaner is a seperate com program. The list of cleaners is stored here
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches

StateFlags<n> where n is the sageset number

Make your own cleaners.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches\CustomDeleter]
@="{C0E13E61-0CC6-11d1-BBB6-0060978B2AE6}"
"FileList"="*.fred"
"Folder"=hex(2):63,00,3a,00,5c,00,64,00,65,00,73,00,6b,00,74,00,6f,00,70,00,00,\
00
"Flags"=dword:00000000
"LastAccess"=dword:00000002
"StateFlags"=dword:00000001
"Display"="Custom"
"Description"="Clears a custom folder"

To make multiple cleaners just change the last key name (CustomDeleter)

Seperate multiple filetypes like so (pipe)
*.fred|*.horse

Seperate multiple directories the same way.
c:\desktop|C:\games

Use this syntax for directories
?:\recycled

Which will do all drives or the specified drive (depending on how cleanup is being used)

Last Access can be set to 0 for instant deleting.
 
A

Alex Nichol

Vince said:
In windows 98 there is a folder called C:\windows\temp which it is ok to
delete the contents of since they are just temp files.

Now in XP there is the same folder but also a folder called temp under local
settings of each user. When you run the disk cleanup it only deletes files
from the temp folder in the local user folder.

Is it ok to delete the temp files from one or both of these folders when
using XP?

The one in the logged in user is the one that programs *ought* to use
for temp files, by referring to that 'environmental variable'. But the
windows\temp one gets used by some old and ill-written programs that
address it directly. You may certainly clean it out. Best done just
after boot, so nothing will as yet be using such files; though if
anything is, then you will not be able to delete the file concerned
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top