`
kingtai168
  • 浏览: 26112 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

清除系统垃圾代码(可转成批处理文件)

F# 
阅读更多

 代码如下

 

-------------------------------

檔案名.bat

CODE:
[Copy to clipboard]


@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
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 清除系统LJ完成!
echo. & pause
--------------------------------------------------------

 

把----中间的考到一个空白的.txt里面保存,最后把.txt改为bat就OK了

双击这张**.bat就可以清系统文件了

0
1
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics