Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

系統變慢、C 盤空間不足?批次檔清理暫存檔 + 專業清理工具 + 軟體遷移非系統盤

編輯:關於 Windows

系統久用產生大量暫存檔 (.tmp, ._mp, .log, .gid, .chk, .old, .bak)、IE 快取、Cookies、Recent 等佔用空間拖慢速度。

方法一:自製批次清理腳本

記事本貼入以下指令,存為 清理系統.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 清除完成!
pause

方法二:專業清理軟體

Windows 優化大師、超級兔子、360 安全衛士等皆可一鍵掃描清理。

長效建議

  • 分區時給系統盤 (C:) 留足空間 (建議 100GB+)。
  • 軟體安裝選非系統盤,已裝在 C 盤的用 360/電腦管家「軟體遷移」功能移走。
Copyright © Windows教程網 All Rights Reserved