c盘的剩余内存突然少了很多

来源:百度知道 编辑:UC知道 时间:2024/06/30 14:44:13
c盘的剩余内存突然少了很多 可能是备份昨天杀毒弄的 谁知道怎么把备份文件删除 给个教程

把下面的代码复制到文本文档里,保存,然后把扩展名改成BAT的,比如叫 新建文本文档.BAT 然后双击,看到批处理狂删垃圾文件很有成就感,你试试,就算不好用也对你电脑没影响。我一直在用

@echo off
echo 正在清除系统垃圾文件,请稍等......
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp

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 s\*.*
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\