Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
:: Purpose: Temp file cleanup
:: Requirements: Admin access
:: Author: Harbor Gate
:: Version: 1.6
:: History: 1.6 Changed some delete flags to /F /S /Q instead of just /F /Q
:: The "/S" flag says to recurse into subdirectories.
:: 1.5 Added new areas to clean -- %TEMP%\ folder
:: 1.0 Initial write
::prepare
@echo off
color f0
cd\
cls
title [CLEANING]
:: User temp files
del "%TEMP%\*" /F /S /Q
:: Root drive garbage (usually C drive)
del "%SystemDrive%\*.bat" /F /Q
del "%SystemDrive%\*.txt" /F /Q
del "%SystemDrive%\*.jp*" /F /Q
del "%SystemDrive%\*.log*" /F /Q
del "%SystemDrive%\*.t*mp" /F /Q
del "%SystemDrive%\*.bak*" /F /Q
:: System temp cache
del "%WINDIR%\TEMP\*" /F /S /Q
:: Flash cookies
del %appdata%\Macromedia\Flash Player\#SharedObjects\*
:: User history and temp files
del "%SystemDrive%%HOMEPATH%\Recent\*.*" /F /Q
del "%SystemDrive%%HOMEPATH%\Local Settings\Temp\*.*" /F /Q
del "%SystemDrive%%HOMEPATH%\Local Settings\Temporary Internet Files\*.*" /F /Q
del "%SystemDrive%%HOMEPATH%\Local Settings\Application Data\ApplicationHistory\*.*" /F /Q
del "%SystemDrive%%HOMEPATH%\My Documents\*.tmp"
del "%SystemDrive%%HOMEPATH%\My Documents\*.bak"
del "%SystemDrive%%HOMEPATH%\My Documents\*.log"
:: complete
@echo off
title [COMPLETE]
echo.
echo.
echo Temp files cleaned.
echo.