清除系統的小工具

@echo off
echo Is Deleting files......
del /f /s /q /a %systemdrive%/*.tmp
del /f /s /q /a %systemdrive%/*._mp
del /f /s /q /a %systemdrive%/*.log
del /f /s /q /a %systemdrive%/*.gid
del /f /s /q /a %systemdrive%/*.chk
del /f /s /q /a %systemdrive%/*.old
del /f /s /q /a %systemdrive%/recycled/*.*
del /f /s /q /a %windir%/*.bak
del /f /s /q /a %windir%/prefetch/*.*
rd /s /q /a %windir%/temp & md %windir%/temp
del /f /q /a %userprofile%/cookies/*.*
del /f /q /a %userprofile%/recent/*.*
del /f /s /q /a"%userprofile%/Local Settings/Temporary Internet Files/*.*"
del /f /s /q /a "%userprofile%/Local Settings/Temp/*.*"
del /f /s /q /a "%userprofile%/recent/*.*"
echo The file is deleted ,thank you.
echo. & pause

 

 

保存成LT.bat文件即可。很好用
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章