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-always-show-windows-10
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 everytime 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

Download w10_copy_as_path_always_show.zip, unzip the contents and run the enclosed REG file.

After applying the registry tweak, here is how Copy as path appears when you right-click a file or folder.



copy-as-path-always-show-windows-10
Copy as Path – when right-clicking a file – without using SHIFT key.

REG File Contents

Here is the contents of the REG file just in case you want to make one of your own.

Windows Registry Editor Version 5.00

;Show Copy as Path always in the right-click menu, without pressing SHIFT
;Ramesh Srinivasan, Winhelponline.com

[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.

That’s it! Hope you found this tweak useful. Let’s know your comments.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right below. :)

About the author

Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

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

  1. Hi, Ramesh. This is EXACTLY what I’ve been looking for. TY!

    However imageres.dll doesn’t exist on my Win7 system, so the icon is “generic.” Thought you should know.

    Reply
  2. I use Windows 7 and it won’t work for me either. It showed up in the right click menu but I get an error message when I click on it. Do you have a fix for this? Thank you.

    Reply
  3. After trying this regedit, now when I right-click an item I get 2 “Copy as path” options. How can I remove the default right-click “Copy as path” option so only your option shows Or how do I remove yours from the right-click view so only the default shows?

    Reply
  4. I meant to say that now, when I do a Shift + Right click, Copy as path is listed twice. There is the standard, default Copy as path plus there is your Copy as path with your icon. I was wanting only one Copy as path to show when I Shift + Right click. I don’t care which one.

    Reply
    • @Edward W: Here is the registry key for the default “copy as path” menu.. [HKEY_CLASSES_ROOT\AllFileSystemObjects\shellex\ContextMenuHandlers\CopyAsPathMenu]
      Using the Registry Editor to delete the key (export it first) should get rid of the right-click entry.

Leave a Comment