首页 > 学院 > 常见问题 > 正文

清除系统垃圾文件的批处理 win7清除C盘垃圾和缓存的批处理bat文件

2019-12-21 01:16:51
字体:
来源:转载
供稿:网友

清除系统垃圾文件的批处理 win7清除C盘垃圾和缓存的批处理bat文件。我们现在很多人都在使用批处理文件来处理电脑c盘的垃圾,因为真的是非常的方便的。但是对于不懂的人来说,应该怎么设置呢?一起来看看吧。


  @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%/tempdel /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


       对于不知道怎么设置批处理文件的网友们,可以试着使用到上面给你们介绍的解决方法进行处理,相信一定可以解决你们的难题。


  


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表