bloggerads

2014年9月1日 星期一

清除系統垃圾檔案

很多人都不知道,當各位上網時,在瀏覽器上開網頁所看到的圖片

其實都是被download到個人PC上的暫存檔案,然後才顯示到網頁上

而這寫檔案就會一直留存在電腦中,成為垃圾檔案!!!

還有許多捷徑檔案、文件路徑等等....

這些都會留下紀錄的佔存檔!!!

久而久之,累積下來就會吃掉很多硬碟空間!!!!!

今天教大家製作一個清理暫存檔的小工作

首先!


先開啟一份文件檔案(.txt)

貼上以下文字

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 /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"

echo 清除系統垃圾完成!


然後將檔案存檔,再把副檔名改為.bat的批次檔案!!

好了就執行,會幫你清理電腦中沒用的垃圾喔!!!!!

沒有留言 :

張貼留言