文档中心 > Windows实用技巧 > Windows XP如何自动清理硬盘空间

Windows XP如何自动清理硬盘空间

最近更新时间:2021-09-24 04:18:19

本文介绍Windows XP如何解决硬盘空间不足的情况温馨提示:清理之前,请将重要的数据进行备份,避免造成不必要的数据丢失。

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%\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\*.* 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 清除系统LJ完成! echo. & pause

3.创建好的文本文档需要把格式修改为“bat”,这样双击才可以直接运行。

注:该教材适用于Windows所有基础版本。

如果您的问题还未解决,可以提交工单寻求帮助。

免费试用30+款云服务产品 即刻开始您的上云之旅
免费试用
Baidu
map