EraseTemp is a utility that automatically deletes old temporary files from your computer.

After helping people with computer problems I discovered that many computers had a lot of old temporary files. This wastes space on your hard drives and could be a stability problem.

One solution to this can be to just delete them in Autoexec.bat but some installations depend on files in the Temp directory to finalize an installation. A simple delete could make these apps to stop working. That's why we started working on EraseTemp.

If you just run the application it deletes everything older than one day in the Temp folder(s). It looks in you personal Temp folder in Documents and Settings, the Temp folder in the Windows folder and, if present, C:\Temp.

It also removes old dump files by default.

You can also use EraseTemp to delete old files, any number of days old, in any folder.

Here are the command prompt arguments:

EraseTemp [/Temp] [/Dump] [/Path:"C:\Temp"] [/Silent] [/Minimized] [/Days:2] [/Dump] [/SubFolders:"C:\Download"] [/KeepFolders] [/IgnoreLastAccessed] [/Log:"C:\Log.txt" [/LogDate]] [/NoClose] [/Test] [/?]

/Temp Erase the default TEMP Directory (Default)
/Path Erase a specific directory
/Silent No output to the screen
/Minimized Run minimized
/Days Days to keep (1 is default)
/Dump Erase dump and DrWatson files (Default)
/SubFolders Removes emtpy subdirectories
/KeepFolders Keeps subdirectories (not for /SubFolders)
/IgnoreLastAccessed Only looks at last modified
/Log Logs the names of the deleted files
/LogDate Adds date to the logfile
/NoClose Don't close the program automatically
/Test Test mode, nothing will be deleted
/? This information

What's New:

- Two new switches: /NoUpdateCheck, /NoDisclaimer

- Check for valid date
- New menu
- Code cleanup