Microsoft likes to make things complicated from time to time it seems. When you right-click a file, folder or search result in Windows Vista you get the normal command menu with options to open, edit or print the marked objects. If you happen to press shift while right-clicking you will also notice that a new option has been added to the menu which is called Copy to Path.
Copy to Path adds a few new nice features to Windows Vista which are otherwise not available. If you right-click search results for instance while holding down the shift key you can export them into the clipboard and paste them afterwards in a text document.
You might also have noticed that dragging and dropping files or folders into the command line does not display their path the way you expected it to. Security concerns are the reason for the change according to Microsoft.
The workaround is the Copy to Path function. If you hold down the shift key while right-clicking a file or folder you can use the Copy to Path function to copy the path to the clipboard. Now simply paste it into the command line and you will notice that the path has been set correctly.
Please note that holding Shift may reveal additional context menu options that Microsoft hid away. On Windows 7, I get the option to open a command window here. While I'm not 100% certain that this is a default feature of Windows 7 and not added by a third party product, it can be useful at times if you need to quickly open the command prompt with the current path selected by default.
The copy to path feature is now know as copy as path in Windows 7 and newer versions of the operating system.
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats (video ads) or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.