[分享] 30秒清除電腦系統淤塞的所有垃圾
希望沒有誤了大家,如果有錯請強者指正
-------------*
在Windows安裝和使用過程中都會產生相當多的垃圾文件,
包括:臨時文件(*.tmp、*._mp)、日誌文件(*.log)、臨時幫助文件(*.gid)、
磁盤檢查文件(*.chk)、臨時備份文件(*.old、*.bak)...etc.
特別是如果一段時間沒有清理瀏覽器的「Temporary Internet Files」,
其中的緩存文件有時會佔用了上百MB的磁盤空間,
不單單僅是浪費空間如此而已,有時還會嚴重的拖慢系統運作
使用以下的方法,不需要下載安裝任何軟體,
只要電腦裡有「記事本」,就可以進行清除系統垃圾
1.首先打開一個記事本
2.將下面兩行等號中所夾的字複製,貼到記事本中
((等號不需要貼進記事本中))
====================
@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
====================
3.點選「另存新檔」,把檔名改為「清除系統垃圾.bat」
.bat很重要,這樣才可以把原本記事本的.txt檔改成執行檔
4.這樣就完成了,雙擊點開它,不到一分鐘的時間就可以清除垃圾文件了
====================================================================
給大家參考 ( ′-`)y-~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 222.156.197.252
推
04/27 19:55, , 1F
04/27 19:55, 1F
→
04/28 15:10, , 2F
04/28 15:10, 2F