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激活码备份教程
  • 热门搜索
    孝感旅游 阜阳旅游 旅游资源的特点 诸暨旅游 南京 旅游 腾冲旅游景点 旅游船 东莞旅游景点 故宫旅游 吉隆坡旅游攻略