澎湖 奶油獅
↑我拍的奶油獅,可愛吧

是否注意到你的電腦系統磁盤的可用空間正在一天天在減少呢?是不是動作一天比一天遲緩呢?在Windows安裝和使用過程中都會產生相當多的垃圾文件,包括臨時文件(如:*.tmp、 *._mp)、日誌文件(*.log )、臨時幫助文件(*.gid)、磁盤檢查文件( *.chk)、臨時備份文件(如: *.old、*.bak )以及其他臨時文件。特別是如果一段時間不清理IE 的臨時文件夾「Temporary Internet Files」, 其中的緩存文件有時會佔用上百MB 的磁盤空間。這些文件不僅僅浪費了寶貴的磁盤空間,嚴重時還會使系統運行慢如蝸牛。現在就讓我們一起來快速清除系統垃圾吧!!

首先打開「記事本」,然後把下面綠色的字複製進去,點「另存新檔」,把文件名定為「 清除系統垃圾.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%\recent\*.*"
echo 清除系統垃圾完成!
echo. & pause

參考資料:http://www04.eyny.com/thread-3803003-1-1.html



延伸閱讀.jpg  

[電腦小知識] 雙即時教學 (免程式)


綠番薯感謝大家.jpg  

arrow
arrow

    綠番薯 發表在 痞客邦 留言(11) 人氣()