EraseTemp is a utility that automatically deletes old temporary files from your computer.
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 and the Temp folder in the Windows folder.
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 line arguments:
EraseTemp.exe [/Temp] [/Dump] [/Path:"C:Temp"] [/SubFolders:"C:Download"] [/Days:2] [/FilesToKeep:3] [/KeepFolders] [/KeepReadOnly] [/NoSub] [/IgnoreLastAccessed] [/HideSkipped] [/RegEx:".*.txt"] [/Log:"C:Log.txt"] [/LogDate]] [/Minimized] [/Silent] [/NoClose] [/Test] [/?]
/Temp | Erase the default TEMP Directory (Default) |
/Dump | Erase dump and DrWatson files (Default) |
/Path | Erase a specific directory |
/SubFolders | Removes emtpy subdirectories |
/Days | Days to keep (1 is default) |
/FilesToKeep | Files to keep in each folder (0 is default) |
/KeepFolders | Keeps subfolders but deletes the files (not for /SubFolders) |
/KeepReadOnly | Keeps read only files and folders |
/NoSub | Don’t delete files in subfolders |
/IgnoreLastAccessed | Only looks at last modified |
/HideSkipped | Does not display skipped files |
/RegEx | Delete only the files that matches the RegEx |
/Log | Logs the names of the deleted files |
/LogDate | Adds date to the logfile |
/Minimized | Run minimized |
/Silent | No output to the screen |
/NoClose | Don’t close the program automatically |
/Test | Test mode, nothing will be deleted |
/? | This information |
What's New
- New switch: /KeepRegEx Keeps the files that matches the RegEx