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激活码备份教程
  • 热门搜索
    时间是什么 什么是断掌 血尿是什么原因 放屁多是什么原因 嘴边长痘痘是什么原因 什么是辛辣食物 什么咖啡好喝 童年是什么 十月初一是什么日子 十一月什么星座