第一种方法:vista垃圾清理文件 把下面代码复制到记事本里,再把后缀名有txt改成bat就可以了 echo -------------------------------------------------------------------------------- echo 要开始进行系统清理 pause cls @echo off 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 %windir%\*.bak del /f /s /q %windir%\prefetch\*.* rd /s /q %windir%\temp & md %windir%\temp del /f /s /q "%appdata%\Microsoft\Windows\cookies\*.*" del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" del /f /s /q "%userprofile%\Local Settings\Temp\*.*" rd /s /q "%userprofile%\Local Settings\Temp\" & md "%userprofile%\Local Settings\Temp\" del /f /s /q "%appdata%\Microsoft\Windows\Recent\*.*" @echo off cls color 2A echo --------------------------------------------------------------------------------系统垃圾清理完成!!!echo -------------------------------------------------------------------------------- echo 要退出 pause
|