Created
October 3, 2011 15:17
-
-
Save cyfdecyf/1259349 to your computer and use it in GitHub Desktop.
xp clean up script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
echo cleaning up, please wait...... | |
del /f /s /q %systemdrive%\*.tmp | |
del /f /s /q %systemdrive%\*._mp | |
del /f /s /q %systemdrive%\*.log | |
del /f /s /q %systemdrive%\*.gid | |
del /f /s /q %systemdrive%\*.chk | |
del /f /s /q %systemdrive%\*.old | |
del /f /s /q %systemdrive%\recycled\*.* | |
del /f /s /q %windir%\*.bak | |
del /f /s /q %windir%\prefetch\*.* | |
rd /s /q %windir%\temp & md %windir%\temp | |
del /f /q %userprofile%\cookies\*.* | |
del /f /q %userprofile%\recent\*.* | |
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" | |
del /f /s /q "%userprofile%\Local Settings\Temp\*.*" | |
del /f /s /q "%userprofile%\recent\*.*" | |
echo clean up finished | |
echo. & pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment