This post is very old and likely contains information that is no longer accurate and links which no longer work. Proceed with caution.
A while back, as an exercise to help learn python, I wrote a script that removes temporary files in Windows (9x/me/2k/XP/etc) - It’s far from perfect, but it sure saves a lot of time compared to cleaning things out manually. If you’re feeling daring, give it a try: download tempcleaner. I’ll post the source once I get it cleaned up a little better, and put a blurb about it in the projects section.
I made a reference to it in the previous post I made about spyware removal.