12 total posts
Yes and yes
Everyting in Windows\temp can be deleted. But some may be in use, so it's good practice to sort on date and not touch everything created today.
Same goes for the files in the Temp subfolder of the Local Setttings folder in your Documents and Settings.
If you use MS Word you might have noticed it uses scratch files starting with ~. Normally, they are deleted if Word closes, but if you find them, it's safe to delete them.
And an extension like .ex_ or dl_ generally is a leftover from some install (they are expended to .exe and .dll, and can be deleted afterwards).
You might like do download free ccleaner to automate some of this deletes.
Hope this helps.
Thanks, and can you recommend?
Thanks very much. Since it's not Spring outside here (Chicago), I'm pretending it is inside and am doing a little computer cleaning.
As for the free hard drive (or file) cleaner, can you recommend one?
at Kee's post.
"ccleaner" is not a typo.
Use google to find.
Those all indicate temporary type files UNLESS...
you are in the habit of using any of that format when saving files yourself.
Assuming you do not name files you save in those formats, the quickest and easiest way to remove them is from the command line or via a batch file.
If you copy EVERYTHING in bolded print between the lines of asterisks (but not those lines) and save it as a notepad file named del_temp.bat this file can be doubleclicked and will perform the search and deletions for you.
REM change to C: drive then root of drive
ECHO Checking Drive C: for temporary files for deletion
REM deletes recursively all indicated files
del *.tmp /s
del ~*.* /s
del _*.* /s
del *.??_ /s
del *.??~ /s
REM copy commands and paste below for additional drives
REM and change C: as necessary for any other drives
REM or partitions -- do not list CD drives
REM following line allows windo to remain open to see
REM results. Pressing any key closes window.
Another major advantage of using the command line for deleting the temp files is that any that are in use are skipped without stopping the deletions of the rest. Deleting recursively means that all indicated files even in subdirectories are also deleted.
Cool cmd. Thanks for posting it. :-)
I would recommend that you be VERY CAREFUL...
using this one del *.??_ /s if you happen to have your installation CD copied to your hard drive.
reply to: I would recommend that you be VERY CAREFUL...
Thanks for the tip. Does this include OEM's System Recovery partition?
Yes it would IF...
your OS can access that recovery partition AND if you have added that partition to the basic batch file offered as another drive to recursively delete.
If the commands are not directed to a specific partition they don't affect it.
reply to: Yes it would IF...
Since the Recovery partition is On D: and the cmd as copied from you're post only mentions C: So I guess the cmd should be safe for my machine.
BTW, I have RECGUARD.exe in global Startup. I assume that also would prevent the Recovery partition from being deleted. But I'm gonna keep it out of the Del cmd any way.
this is useful when cleaning tem files
this is very useful, if include the cd c:\windows\temp\ *.* /s /q ..
Time To Lock This Thread After NINE Years