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

1

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!

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.

Leave a Comment

Fields marked by an asterisk (*) are required.

Subscribe without commenting