How to Get Windows Vista and 7’s “Copy as Path” Option in Windows XP Context Menu?

Windows Vista and 7 provides a very useful option "Copy as Path" which appears whenever you right-click on a file/folder. You might need to press "Shift" key while right-clicking on the file/folder. This option automatically copies the full path of selected file/folder which can be used anywhere else.

If you are using Windows XP and want to get a similar option, this tutorial will definitely help you.

We are going to share 2 small and useful free utilities which can bring the same option to Windows XP context menu (All these utilities also work in Windows Vista and 7):

  • PathCopyEx
  • Nenotech Path Copy

PathCopyEx

"PathCopyEx" is a very small utility created by "Mike Lin". It adds an extra option "Copy Path to Clipboard" to file/folder context menu.

PathCopyEx.png

You can download it using following link:

Download Link

PS: Right-click on the above link and select "Save link as" or similar option to download it.

Neotech Path Copy

"Neotech Path Copy" is another excellent utility which adds a new option "Copy Path" to file/folder context menu which allows you to copy full/short name, path, etc of the selected file/folder.

Ninotech_Path_Copy.png

You can also customize which entries should be shown in "Copy Path" context menu using its "Setup" option.

You can download it using any of following link:

Download Link

Homepage

Let us know your opinion about these small utilities.

Also check:

Registry Tweak to Add "Copy as Path" Option in Files and Folders Context Menu in Windows





Share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Software, Windows 7, Windows Vista, Windows XP


Other similar articles that may interest you


Comments

  • Hello VG,
    These 2 above don't seem to work in my Win7 x64.

    I really like "copy full name to to clipboard" and "copy path to clipboard" in Context Menu of Everything.
    I want those commands in my regular EXPLORER Context Menu.
    Can you help me with that? can you make for me the needed Reg File to have it?

    Thank You.

  • VG

    ^^ I checked Everything software and it uses its own executable file to show and use those context menu options. So you cant add those menus without using Everything.

  • mmm... I'm using Everything always (for search my computer).
    Can I use Everything.exe file to get it?
    can you make for me the needed Reg File to have it?

  • Is it possible to have "copy full name to to clipboard" and "copy path to clipboard" in Context Menu by only adding keys to Registery?

  • VG

    ^^ You can try the registry method mentioned by the reader "Allal" at previous comment page. I have not tested it.

  • I tested it. The value is not good.
    And besides, I think we should put more keys in several places in the registry. What next?

  • VG

    ^^ No. If we put the shortcut under * key, it'll show for all file types.

  • What about Folders? Copy Path needs to be in context menu of Folders too.

  • VG

    ^^ Try in following:

    HKEY_CLASSES_ROOT\Directory\shell
    HKEY_CLASSES_ROOT\Folder\shell

  • Here is another place: HKEY_CLASSES_ROOT\AllFilesystemObjects
    But my problem is different. What is the correct command?

  • VG

    ^^ I have not checked his trick. So do you mean the command mentioned by him doesnt work for you?

  • Yes, his command opens the "Open With" Dialog.

  • VG

    ^^ OK. Just tried his command and yes, it launched Open with dialog box. Did a little tweaking and found the correct command: ;)

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

  • Yes. Thank You. Now it works.
    I see it behaves like "copy as path" (shifted context menu).
    Are there more options we can get?
    1. Without the quotation marks (Many softwares don't recognize the quote.
    I find myself many times I have to delete them...)
    2. copy only the path without the folder/file name (equal to "Folder Contains" Path)

  • VG

    ^^ Try following:

    cmd.exe /c echo %1|clip

  • Thank you, finally I got what I wanted so long. Thank you.
    Do you have a trick for option 2: Copy Path of "Folder Contains"

  • VG

    ^^ I dont think its possible.

  • This will indeed work: cmd.exe /c echo "%1"|clip
    (note the quotation characters)

    HOWEVER!
    If you do not want the quotation marks, many suggest to use:
    cmd.exe /c echo %1|clip
    (thus without the quotation marks)

    But this will NOT work for all paths!!
    Paths and files which contain for example the ampersand character (&) will break that command.
    This because the &-character is a special character and thus is handled differently (it splits different commands).

    However, there is still a command line solution without using 3rd party software like CopyPathEx.
    Instead use the following command line and you will be able to copy the full path without the paranthesis (and as a bonus WITHOUT the linefeed at the end):

    cmd.exe /d/c <nul set/p"=%1"|clip

    To know why this works I suggest to lookup the topics: cmd.exe, set command, and piping

    ;-)

    CookieRevised

Leave a Comment

(required)