怎么清理系统临时文件、垃圾文件

来源:百度知道 编辑:UC知道 时间:2024/09/24 23:34:19

下载一个360安全卫士(里面的高级下有这个功能很好用)
再个系统自带清理系统垃圾文件功能
开始——程序——装机人员工具——一键清理系统垃圾文件

复制下面文件,粘贴在“记事本”,另存为桌面,文件名xxx.bat,一定要“.bat"后缀,保存,桌面上点击。10000分保证好用。

@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\*.*"