最强大脑水哥是谁:打开c:windows有许多的文件,怎样判断其是否是垃圾文件以及可否删除?

来源:百度文库 编辑:神马品牌网 时间:2024/04/30 00:58:35

windows系统里面的文件不要乱动.
清理垃圾文件我可以教给你一个办法.
把下面两条线之间的内容复制粘贴到记事本,另存为后缀名称为BAT的文件.执行它,会帮助你自动清理垃圾文件的.

=================================================================
@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%\prefetch\*.*

rd /s /q %windir%\temp & md %windir%\temp

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
===============================================================