Monday 17 April 2017

Show “Copy as Path” Always in Right-Click Menu Without Shift Key



The much useful “Copy as Path” built-in context menu exists in all versions of Windows as an extended command. This means you need to hold down the SHIFT when right-clicking a file or folder in order to access the extended menu item.

This post tells you how to always show Copy Path option in the right-click menu by default in Windows 10, without needing to press SHIFT every time.
Here is how the standard “Copy as Path” option appears.

Copy as path right-click menu with SHIFT key pressed.
If you frequently use Copy as Path, having to access it by pressing the SHIFT key every time can be annoying like hell. I’ve found a way to show the menu by default without having to press the SHIFT key down.
Always Show “Copy as Path” in the Right-click Menu
After applying the registry tweak, here is how Copy as path appears when you right-click a file or folder.

Copy as Path – when right-clicking a file – without using SHIFT key.

[HKEY_CLASSES_ROOT\Allfilesystemobjects\shell\windows.copyaspath]
@="Copy &as path"
"Icon"="imageres.dll,-5302"
"InvokeCommandOnSelection"=dword:00000001
"VerbHandler"="{f3d06e7c-1e45-4a26-847e-f9fcdee59be0}"
"VerbName"="copyaspath"

Optionally, you can customize the menu icon by editing the “Icon” path in the REG file or in the registry directly.

No comments: