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

滑鼠右鍵大改造:加入「磁碟重組」一鍵啟動

編輯:Windows 技巧

XP 下磁碟重組需多步操作。將功能加入右鍵選單,選中分區右鍵即可直接啟動重組。

製作登錄檔

  1. 記事本輸入:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Drive\shell\磁碟重組\command]
@="Defrag.exe %1"
  1. 存為 disk.reg,雙擊匯入登錄檔。
  2. 開啟「我的電腦」,選中任意分區右鍵 → 選單出現 「磁碟重組」,點選即啟動該分區重組。

移除方法

登錄編輯器刪除 HKEY_CLASSES_ROOT\Drive\shell\磁碟重組 機碼即可。

原理:%1 為被右鍵點選的磁碟機代號,Defrag.exe 為系統內建重組工具。同理可加入「磁碟清理」(cleanmgr.exe %1) 等常用工具。

Copyright © Windows教程網 All Rights Reserved