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

电脑一键清除垃圾bat的方法 如何一键清理电脑系统垃圾

2019-12-15 12:36:44
字体:
来源:转载
供稿:网友

电脑一键清除垃圾bat的方法 如何一键清理电脑系统垃圾。我们在使用电脑的时候,总是会遇到很多的电脑难题。当我们在遇到了需要一键清除bat的垃圾的时候,我们应该怎么操作呢?一起来看看吧。


  具体步骤如下:


  1、复制上篇经验的代码,放入记事本。


电脑一键清除垃圾bat的方法 如何一键清理电脑系统垃圾


  源代码如下


  @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


  记事本重命名:清除系统LJ.bat(复制这个名称)


  保存即可,双击运行。


电脑一键清除垃圾bat的方法 如何一键清理电脑系统垃圾


  2、可是清除垃圾。


电脑一键清除垃圾bat的方法 如何一键清理电脑系统垃圾


  3、根据提示,点击窗口,点击键盘任意键结束,完成清理。


电脑一键清除垃圾bat的方法 如何一键清理电脑系统垃圾


  4、经过深度清理,恢复电脑的运行速度。


电脑一键清除垃圾bat的方法 如何一键清理电脑系统垃圾


  5、轻松方便快捷,做成bat后放置在桌面。


  6、新建记事本-打开放入代码-保存关闭-重命名记事本-完成-双击运行。


电脑一键清除垃圾bat的方法 如何一键清理电脑系统垃圾


电脑一键清除垃圾bat的方法 如何一键清理电脑系统垃圾


      对于我们在遇到了需要进行这样的操作的时候,我们就可以利用到上面给你们介绍的解决方法进行处理,希望能够对你们有所帮助。


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