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

Win10 右鍵選單新增「複製路徑」:Shift 鍵速查法與登錄檔永久加入法

編輯:Windows 10 系統介紹

Windows 10 預設右鍵選單沒有「複製路徑」選項,每次都要進入檔案總管位址列複製非常麻煩。本文提供兩種方法:臨時用 Shift+右鍵快速叫出,或修改登錄檔永久加入右鍵選單,滿足不同使用習慣。

方法一:Shift + 右鍵臨時叫出(無需設定)

  1. 在檔案總管中,按住鍵盤 Shift 鍵不放。
  2. 對目標檔案/資料夾點擊右鍵。
  3. 右鍵選單中會出現 「複製為路徑」 選項,點擊即可將完整路徑複製到剪貼簿。

Shift+右鍵顯示複製為路徑

方法二:修改登錄檔永久加入右鍵選單

  1. 開啟記事本,貼上以下內容:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\windows.copyaspath]
"CanonicalName"="{707C7BC6-685A-4A4D-A275-3966A5A3EFAA}"
"CommandStateHandler"="{3B1599F9-E00A-4BBF-AD3E-B3F99FA87779}"
"CommandStateSync"=""
"Description"="@shell32.dll,-30336"
"Icon"="imageres.dll,-5302"
"InvokeCommandOnSelection"=dword:00000001
"MUIVerb"="@shell32.dll,-30329"
"VerbHandler"="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}"
"VerbName"="copyaspath"
  1. 另存為 copyaspath.reg(編碼選 ANSI 或 UTF-8,副檔名必須為 .reg)。
  2. 雙擊執行該檔案,點擊「是」→「確定」匯入登錄檔。
  3. 重新開機或重新啟動 explorer.exe 即可在右鍵選單看到「複製為路徑」。

登錄檔內容

另存為 .reg 檔案

匯入登錄檔確認

移除方式

若不再需要,開啟登錄檔編輯器 (regedit),刪除鍵值 HKEY_CLASSES_ROOT\AllFilesystemObjects\shell\windows.copyaspath 即可。

Copyright © Windows教程網 All Rights Reserved