Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This question already has an answer here:

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?

share|improve this question

marked as duplicate by Peter Mortensen, Ƭᴇcʜιᴇ007, Tog, Oliver Salzburg Mar 17 at 17:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4 Answers 4

up vote 35 down vote accepted

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

share|improve this answer
    
Why shift? Right click do the same for me. And I don't have "copy as path" in the list of actions. –  Vadorequest Mar 17 at 12:54
    
Okay, my bad. It works, just hidden in the 20 possible actions in my computer! –  Vadorequest Mar 17 at 12:55
4  
@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 Mar 17 at 13:39
2  
Using Window for almost 15 years and don't know such thing... Feel bad. –  Vadorequest Mar 17 at 14:38
2  
@Vadorequest Don't feel too bad; it was new to Vista. –  Mark Hurd Mar 17 at 16:39

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.

share|improve this answer

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.

share|improve this answer

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

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.