16

Is there some application for selecting a file in Windows Explorer, and copy its file path to the clipboard, with one shortcut?

Does Windows have some built-in tool for it?

0

4 Answers 4

36

It's built in to Windows...

Shift + Right-Click the file -> Copy As Path

More Info: Get the Full Path of a Folder or File in Windows 7

Additionally here's a page that explains how to add custom entries to show on the non-Shifted context menu:

Copy File Path And Name Using Windows Explorer Context Menu Extensions

5
  • Why shift? Right click do the same for me. And I don't have "copy as path" in the list of actions. Commented Mar 17, 2014 at 12:54
  • Okay, my bad. It works, just hidden in the 20 possible actions in my computer! Commented Mar 17, 2014 at 12:55
  • 5
    @Vadorequest Doing Shift + Right-Click in Windows sometimes gives alternate or additional menu items. For instance, Shift + R-clicking in an Explorer window will give the option to open a Command Prompt window with the current working directory set to the folder currently displayed in Explorer when you select said menu option.
    – ajp15243
    Commented Mar 17, 2014 at 13:39
  • 2
    Using Window for almost 15 years and don't know such thing... Feel bad. Commented Mar 17, 2014 at 14:38
  • 2
    @Vadorequest Don't feel too bad; it was new to Vista.
    – Mark Hurd
    Commented Mar 17, 2014 at 16:39
8

Yes. If you're using Windows' built-in explorer (not Internet Explorer), you can hold down the SHIFT key and press right click on the item (which can be a file or folder). Then the only thing you need to do is select the "Copy as path" option. Now the path of the item will be placed in your clipboard and you can use it by pasting it anywhere.

4

I use Path Copy Copy for that which supports various paths including UNC, Internet style, Unix, Cygwin and so on. Its context menu is fully configurable so you can leave your favourites there. "Long Path" and "UNC Path" are my favourites.

1

For the moment I've found Copy path for Windows that:

that will allow you to right click on a drive or file system object and copy the path of the file to the clipbpoard. If the drive is a mapped drive or the file system object exits on a mapped drive it will resolve the full UNC path..

Not the answer you're looking for? Browse other questions tagged .