Copy File Name And Path as Text In Vista With Keyboard Shortcut

10

vistalogo1.pngWhile Vista added many new features to it's interface, it also included many new features to Windows Explorer interface as well. With the introduction of breadcrumb trails as the default view in the address bar:

vistafilepath1.png

Vista also lets you change the view to XP's path style:

vistafilepath2.png

This feature is handy if you have the need to copy the path of folders as text. But how about copying the path to files including the file name? Vista has that covered with a hidden shortcut to easily copy file paths using the keyboard.

In XP you would first need to copy the path of the folder, paste it somewhere, then right click the file and select properties of a file to copy the file name (way to many steps).

To easily copy the full path to a file, including it's file name in Vista, locate the file using Windows Explorer or Search for the file, then hold the Shift key and Right click on the file name.

In the Right click context menu select Copy as Path.

vistafilepath3.png

Now when you paste…

"C:\Windows\System32\cmd.exe"

…the path to the file will also include the file name with quotes. Sweet!

Filed under Windows Vista Tips by  #

Comments on Copy File Name And Path as Text In Vista With Keyboard Shortcut Leave a Comment

June 4, 2009

arlanda @ 11:46 am #

To clarify the above:
1) if you right-click on a file in the RIGHT window pane, you'll see the option "Copy Filename" (Note: no need to hold down the SHIFT key)
2) if you right-click on a folder in the RIGHT window pane, you need to hold down the SHIFT key to see the option "Copy as Path"
3) no such option available if you right-click or SHIFT+right-click on a folder in the LEFT window pane

Tested on a Vista SP1 machine.

Or if you prefer, install the freeware app called "Copy Path to Clipboard" to make this option available to both left and right pane.

March 20, 2010

Jesper @ 3:09 am #

And in XP you cando it by dragging the file to the Run "box" in the lower left corner. And then copying the text from there. A little akward but it works everytime. 🙂 Nice that Vista and Windows 7 has a more obvious way.

January 20, 2013

Max @ 12:15 pm #

It is not a keyboard shortcut. It is keyboard plus mouse. I am looking for pure keyboard shortcut, like Ctrl+D or something of sorts.

March 18, 2013

SOB @ 6:55 am #

Hi Max,
This works for me very well, though there might be other ones. Shift+F4, Ctrl+A, Ctrl+C, then paste wherever with Ctrl+V, without touching the mouse.

SOB @ 7:13 am #

And if u want it hyperlinked before pasting it Ctrl+K, Ctrl V and 'enter' key

April 2, 2013

Rajesh @ 11:49 pm #

What is the keyboard shortcut to "copy as path " ?

April 25, 2013

SOB @ 1:09 pm #

The keyboard shortcut to "copy as path" is Shift+F4, Ctrl+A, Ctrl+C

November 7, 2013

Heather @ 1:33 pm #

This is certainly the fourth blog post, of your site I
went through. But yet I love this one, “Watching The Net» Copy File Name And Path as Text In
Vista With Keyboard Shortcut” the most.
Regards -Philomena

September 5, 2016

Senthil @ 12:47 am #

Hi Friends,

You above mentioned Hot Key to copy as path is Copy only the file location. But what me and others or expecting Copy as Path including the Name of file. (ie. Like c:\window\hello.doc)

January 19, 2017

Abigail Ava @ 4:32 am #

Sometimes we get an error when we try to delete a File or a folder for no reason , but of course there is a reason.We have many damage file or blocked files.Do not worry if we want to remove the error files or too long path files from our system,here I suggest a smooth way.So use “Long path tool” software and keep yourself.

Leave a Comment

Fields marked by an asterisk (*) are required.

Subscribe without commenting