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

Win 10 右鍵選單新增「複製路徑」兩法:Shift+右鍵臨時用、匯入登錄表永久加入

編輯:Win10 系統應用技巧

Win 10 預設右鍵選單無「複製路徑」選項,需在網址列手動複製。提供兩種做法:臨時按 Shift+右鍵、或匯入登錄表永久加入選單,大幅提升效率。

方法一:Shift + 右鍵(零設定)

  1. 按住 Shift 不放,對檔案/資料夾按右鍵。
    Shift 右鍵複製路徑
  2. 選單出現 複製為路徑,點選即複製完整路徑到剪貼簿。

方法二:匯入登錄表永久加入(免按 Shift)

  1. 新建文字文件,貼入以下內容,存為 CopyPath.reg。
    建立 reg 檔
  2. 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"
    
  3. 雙擊匯入,確認對話框選 是。
    匯入確認
    匯入成功
  4. 即時生效,右鍵選單直接顯示 複製路徑。
    右鍵選單複製路徑

適用場景

頻繁需提供檔案路徑給同事、寫腳本、排除錯誤時,永久加入選單最划算;臨時需求用 Shift+右鍵即可。

Copyright © Windows教程網 All Rights Reserved