Windows服务器清理垃圾

 时间:2024-10-12 19:53:19

1、将如下代码复制到文档中:@echo offecho 正在清除系统垃圾文件,请稍等......del /f /s /q %systemdrive%\*.tmpdel /f /s /q %systemdrive%\*._mpdel /f /s /q %systemdrive%\*.logdel /f /s /q %systemdrive%\*.giddel /f /s /q %systemdrive%\*.chkdel /f /s /q %systemdrive%\*.olddel /f /s /q %systemdrive%\recycled\*.*del /f /s /q %windir%\*.bakdel /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 清除系统垃圾完成!echo. & pause

Windows服务器清理垃圾

2、注意上面的步骤,将文本文档的后缀更改为bat或者是cmd的格式,点击执行。打开你的系统盘看一下,发现清理了系统盘的一半空间。

  • 安装与配置 ESXi Server 服务器
  • 如何解决手机信号弱的问题?
  • 联瑞LR-LINK 双口/四口网卡汇聚教程
  • linux怎么查看IP地址
  • Win8.1激活码怎么备份 Win8.1激活码备份教程
  • 热门搜索
    数学三考什么 周记写什么好 四妙丸的作用 初三英语知识点 黄秋葵花的功效与作用 人为什么会得病 议论文论证方法及作用 酒文化知识 幼儿园健康知识讲座 迟发性运动障碍