Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

批次刪除 Windows.old 資料夾:批次檔/命令列一鍵清理釋放數十 GB 空間

編輯:Windows 7 系統介紹

升級安裝 Windows 7 後遺留的 Windows.old 資料夾佔用數 GB~數十 GB 空間,直接刪除會導致檔案總管崩潰。正確方法:

方法一:批次檔(方便分享)

  1. 記事本貼上:rd /S /Q C:\Windows.old(或 rd /S /Q $Windows.old)。
  2. 存為 delold.bat。
  3. 右鍵「以系統管理員身分執行」→ 提示確認輸入 Y + Enter。

方法二:命令列直接執行

  1. 開始 → 附屬應用程式 → 右鍵「命令提示字元」→ 「以系統管理員身分執行」。
  2. 輸入 rd /S /Q C:\Windows.old → Y 確認。

rd /S /Q 參數:/S 刪除目錄樹、/Q 安靜模式不逐一確認。執行前請確認無需回滾舊系統。

Copyright © Windows教程網 All Rights Reserved