That's Windows for you - do you mean from IE or your other web browser if so you can do it through the option to delete temp items when you close them.
If you mean system/app temp files that will always happen and you don't have an option in Windows to disable that. One thing you can do is write a batch file to delete them and then put it in your startup folder (or run it as a scheduled task) though be aware that some temp files will be in use and therfore can not be deleted.
This should work:
Code:
cd C:\foldername
echo y | del *.*
Paste into notepad and save as filename.bat
If your folder name is in a sub folder - C:\foldername\subfolder
I use Mozilla and the 'Clear Browser data' doesn't delete the %temp% files for some odd reason(even though the option is checked in which things are deleted). I was thinking of making a batch file to do it, I'll probably do that.
Odd - I've got a dual boot system with XP and Vista (from XP) and just tried it to the same folder on Vista and managed to delete a load of desktop icons from XP's desktop even though they are on a different partition which is VERY odd
I'll need to look into this - maybe it's something to do with Vista and dos commands, so a disclaimer - don't use this if your using Vista (It's gonna take me a while to restore my desktop now!! - especially as this method bypasses the recycle bin).
So don't use for now apologies I should have tried it out in Vista first - I'll post back hopefully with a solution (hopefully)
Please let me know when you figure this out!! I'd like to reformat on a regular basis but I have so much saved onto my hard drive, I need to partition it or buy an external to get my files in order.