CanI delete files in my Doucument settings\username\local settings

G

Guest

CanI delete files in my Doucument settings\username\local settings\temp Folder?
Are these files deleted when I use the disk clean up utility?
 
C

C J.

kirk said:
CanI delete files in my Doucument settings\username\local settings\temp
Folder? Are these files deleted when I use the disk clean up utility?

When you attempt to delete them, are you getting a "File is in use by
another program" dialog by chance ??
 
C

C J.

kirk said:
CanI delete files in my Doucument settings\username\local settings\temp
Folder? Are these files deleted when I use the disk clean up utility?

Darn it.. I misread that... I thought it said cant delete.(LOL) As a rule
You should be able to delete files in the folder, (except for index.dat) -
unless they're folders or file in use by an application or by windows.
 
N

Newbie Coder

Kirk,

You can delete all files that aren't locked by Windows (Example: '~' files) in
the temp folder

START | RUN
Type '%temp%' (without quotes) & press ENTER
CTRL + A (Select All)
DEL (Delete)
ENTER (to confirm deletion)

Don't waste your time downloading CCleaner as its pointless & unnecessary.
 
K

Ken Blake, MVP

CanI delete files in my Doucument settings\username\local settings\temp Folder?


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.

Are these files deleted when I use the disk clean up utility?


Yes, if you check that box.
 
T

Terry R.

On 6/18/2007 11:41 AM On a whim, Newbie Coder pounded out on the keyboard
Kirk,

You can delete all files that aren't locked by Windows (Example: '~' files) in
the temp folder

??? Files starting with an asterisk doesn't mean they're locked. MS
Office is famous for leaving it's temp files after the program closes
and the file remains but it can be deleted if the program is closed.

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
C

C J.

Newbie Coder said:
CJ,

There are no 'index.dat' files in the Temp folder

Ok newbie...

Looks like I'm off to a good start again this week... you are right - I
stand corrected. (Just looked in my %TEMP% to be sure.)
 
N

Newbie Coder

Ken,

Your 'various reasons' should include sloppy coders, as that is the main reason
the files aren't destroyed & I am in the habit of destroying mine
 

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