技术文章
  • 网站首页
  • 服务项目
  • 服务流程
  • 收费标准
  • 技术文章
  • 操作系统
  • 网络技术
  • 电脑技术
  • 电脑防毒
  • 联系我们
  • 利用批处理来清除系统垃圾文件

    2023-07-04
    360电脑维修技术网是一个可以让一个什么都不懂的菜鸟也能够维护自己电脑的网站,内容覆盖、计算机资讯、电脑入门基础知识、各种电脑故障维护、还有电脑及热门游戏操作技巧,同时还提供常用软件和操作系统下载。

            上网或进行应用软件操作的时候系统盘常会累积很多的系统垃圾,系统垃圾多了系统就会变得很慢,系统盘就会变得非常臃肿。如何清除系统垃圾呢,优化软件可以帮忙,但是我们有更好的方法:通过批处理代码一键清理系统垃圾。如果不清楚如何处理,可以参照此例。

            打开开始--所有程序--附件--记事本

      然后复制以下内容。

      @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 s\*.*

      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\*.*"

      sfc /

    [1] [2] 


    随着电脑使用时间越来越长,故障也就越来越多,要不断学习新的知识。学习电脑故障和电脑知识大全,帮助您更好的学习电脑!... 如果您喜欢,请记住我们的网站!

  • 回顶部
北海市360电脑服务中心 地址:北海市上海路海宁新区
北海网站建设:三度网站建设专家
  • 点击拨打电话:15907897527