重启机器可杀毒吗?

来源:百度知道 编辑:UC知道 时间:2024/05/15 02:03:09
我总感觉我的机子垃圾文件太多,如何很好的清理垃圾保留有用文件一直困扰这我,恳求各位大侠帮帮我!

楼上的太复杂,你只需把下面这段代码复制到记事本里,保存为bat文件,然后双击执行,即可清理系统里的垃圾!!!

@echo off
echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★
echo 快乐的石头 HAPPYROCK
echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★
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&