谁帮我清理一下电脑?把不必要的文件多删了!
来源:百度知道 编辑:UC知道 时间:2024/05/31 20:02:21
下个超级兔子
你可以把下面的命令复制到记事本上,然后以.bat后缀名(文件名自定,如"清理系统.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%\*.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%\