Adding ‘Copy as Path’ in Windows

Tired of copying long nested path for folders and files in windows that takes too much time and numerous clicks? here’s a quick way to add copy-as-path in your windows context menu permanently. Basically “Copy As Path” option can done by pressing and hold SHIFT key and by right clicking the selected folder or file just like the image shown below.

image-01

To enable this option permanently, you will need to add a new key on windows registry.
1. To open the registry setting press the “Windows” key + “R” then under the “RUN” dialog box type in “registry”, then click “OK”.

2. Then navigate to …

HKEY_CLASSES_ROOT\*\shell

3. Under “shell” key, create a new key and set its name to “Copy as Path“.

4. Now create another new key under the new “Copy as Path” key and set its name to “command“. So the path should be …

HKEY_CLASSES_ROOT\*\shell\Copy as Path\command

5. On the command key and in right-side pane, set the value of (Default) to:

cmd.exe /c echo "%1"|clip

Everything should look the same as the image shown below:

image-02

Romel Masagca

I’m a Computer / Technology enthusiast. Very passionate about System Administration and Web Servers both Windows and Open sourced platforms. I created this site as a place to store my musings and thoughts. I also created it as a place to showcase my work. I’m currently freelance Web Designer and Desktop Support by night and a Jr. Draftsman on Mechanical Design by day.