我要投稿 投诉建议

如何快速清除电脑中的垃圾

时间:2021-01-10 19:29:10 电脑知识 我要投稿

如何快速清除电脑中的垃圾

  电脑使用的时间久了,就会在电脑中留下很多的垃圾,如果没有定期清理电脑中的垃圾,就会导致电脑磁盘的空间减小,从而影响到系统的运行速度。那么,如何快速清除电脑中的.垃圾呢?今天小编就教大家一键清楚电脑中垃圾的方法吧!

如何快速清除电脑中的垃圾

  1、首先在电脑桌面的空白处鼠标右击,选择“新建--文本文档”;

  2、然后将下面的代码复制粘贴进去;

  @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% ecycled*.*

  del /f /s /q %windir%*.bak

  del /f /s /q %windir%prefetch*.*

  rd /s /q %windir% emp & md %windir% emp

  del /f /q %userprofile%cookies*.*

  del /f /q %userprofile% ecent*.*

  del /f /s /q “%userprofile%Local SettingsTemporary Internet Files*.*”

  del /f /s /q “%userprofile%Local SettingsTemp*.*”

  del /f /s /q “%userprofile% ecent*.*”

  echo 清除系统LJ完成!

  echo. & pause

  3、粘贴完之后选择“文件”选项→另存为→选择“保存在”桌面→“文件名”改为“清除系统LJ.bat”→“保存类型”选择“所有文件”,点击保存即可。

  4、以后要清理垃圾的时候只要双击一下这个文件电脑就会快速的自动清理系统垃圾了。


【如何快速清除电脑中的垃圾】相关文章:

如何快速清除电脑垃圾01-22

如何清除电脑中的垃圾文件01-27

怎么清除电脑中的垃圾文件01-17

电脑垃圾如何清除08-17

如何清除电脑中文件的搜索记录03-31

如何快速清理电脑垃圾01-27

电脑如何一键清除垃圾bat01-22

清除电脑垃圾的方法05-24

彻底清除电脑垃圾的方法09-09