@echo off
echo 正在清理系统垃圾文件,请稍等......清理系统垃圾后让您的系统更快!
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
rem 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 清理系统垃圾完成!
echo. & pause rem echo [InternetShortcut] > "%USERPROFILE%\Favorites\搜狗搜索.url"
rem echo URL= http://www.sogou.com/websearch/corp/index.html?pid=pubeihyj >> "%USERPROFILE%\Favorites\搜狗搜索.url"
rem echo IDList= >>"%USERPROFILE%\Favorites\搜狗搜索.url"
rem echo [{000214A0-0000-0000-C000-000000000046}] >> "%USERPROFILE%\Favorites\搜狗搜索.url"
rem echo Prop3=19,2 >> "%USERPROFILE%\Favorites\搜狗搜索.url"rem @echo
rem reg add "HKCU\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /d " http://www.sogou.com/websearch/corp/index.html?pid=pubeihyj" /f
rem @start iexplore.exe http://www.sogou.com/websearch/corp/index.html?pid=pubeihyj 以上记事本保存成 清理垃圾.bat