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

Win7 檔案刪不掉?自製批次檔強制粉碎刪除

編輯:Windows 7 系統介紹

頑固檔案/資料夾無法刪除,建立批次檔拖放即可強制刪除。

製作與使用

  1. 桌面新建文字文件,貼入:
    DEL /F /A /Q \\?\%1
    RD /S /Q \\?\%1
    批次檔內容
  2. 另存為 ForceDelete.bat (副檔名改 .bat)。
    改為 bat 副檔名
  3. 圖示變為批次檔圖示。
    批次檔圖示
  4. 將無法刪除的檔案/資料夾拖放到批次檔圖示上,自動強制刪除。
    拖放刪除
    刪除完成

利用 \\?\ 前綴繞過路徑長度限制與檔案鎖定,刪除速度極快。

Copyright © Windows教程網 All Rights Reserved