[xp系统清理垃圾的命令是什么]系统清理垃圾命令

Windows XP在使用一段时间之后,会产生大量垃圾文件,导致系统速度变慢,系统提示虚拟空间不足,甚至导致系统启动时提示加载文件失败,进不了系统。下面就让小编教大家xp清理系统垃圾命令

xp清理系统垃圾命令使用方法。

首先在自己的桌面上新建一个文本文档 右击—新建文本文档

打开文本文档

垃圾清理批处理命令复制到文本文档中。

@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 清除系统垃圾完成!

echo. pause。

将文件夹的后缀显示出来。

将文本的txt后缀改成bat。

双击打开 文件。

等待自动清理完毕!

0 次访问