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

  下面是步驟很簡單就兩步!

  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",而原本會出現的*.txt不要!,另外存放位置建議在桌面,因為好找)
4.點擊存好在桌面的那個檔案就會跑出黑白視窗
創作者介紹
創作者 孤單風扇 的頭像
today0514

孤單風扇

today0514 發表在 痞客邦 留言(0) 人氣( 16 )