当前位置>首页 > 教程 > 雨林木风Win7系统教程>Win7电脑垃圾批处理器的方法?

Win7电脑垃圾批处理器的方法?

发布时间:2020-12-09 阅读次数:13579次 文章来源:www.ylmfeng.com 文章作者:雨林木风
简介:使用计算机一段时间后,将会有更多的垃圾文件。以下是清理垃圾文件的方法?

详细说明

使用计算机一段时间后,将会有更多的垃圾文件。以下是清理垃圾文件的方法?


方法 教程

  

 1,创建新的txt文本文件;  

1.png   

 2.打开文本文件并输入以下内容:  

2.png   

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

 3.单击文件另存为,文件名的末尾从txt更改为bat,并保存类型选择所有文件; 

3.png 

右键单击保存的bat文件并以管理员身份运行它。


希望上面这篇文章能帮助到大家!



上一篇: win7电脑word打开是乱码如何解决?          下一篇: win7电脑如何修改文件类型?

最新系统下载

最新系统教程

最新win7系统教程 >>