windows 清除垃圾文件

清理磁盤垃圾文件

在電腦屏幕的左下角按「開始→程序→附件→記事本」,把下面的文字複製進去(黑色部分),點「另存爲」,路徑選「桌面」,保存類型爲「全部文件」,文件名爲「清除系統LJ.bat」,就完成了。記住後綴名必定要是.bat,ok!你的垃圾清除器就這樣製做成功了! 
雙擊它就能很快地清理垃圾文件,大約一分鐘不到。 

======就是下面的文字(這行不用複製)============================= 

@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\*.*" 
echo 清除系統LJ完成! 
echo. & pause cookie

相關文章
相關標籤/搜索