How to copy the entire pathname of a file to the Windows Clipboard

microsoft-windowsWhen using Microsoft Windows, there are times when we need to find the entire path to a file’s location on the hard drive (i.e. the file’s pathname). For example, many of the tips I post on this blog require entering a file’s full pathname into a text field of some sort.

Back in the Stone Age of personal computing when the DOS operating system ruled the roost, determining a file’s pathname was easy. Since you navigated to a file from the command line, once you found the file you were looking for, it’s full path (minus the filename itself) was displayed right on the screen. All you had to do at that point was append the filename onto the end, and you were done! But with Windows, the full path to a file is rarely displayed at all. 

We humans can open Windows Explorer and navigate to a file with a few mouse clicks, but a computer program cannot. And if an application (or a computer tip) asks for the full path to a file, how exactly do you determine what it is?

Luckily, it’s quite easy to copy a file’s full pathname to the windows Clipboard, and after that you can paste it wherever you need it. Here’s how:

1 – Press the Windows+E key combination to open Windows Explorer.

2 – Using your mouse, navigate to the folder containing the file you need the path to.

3 – Press and hold the Shift key, then right-click on the filename.

4 – Click Copy as path.

5 – Paste the pathname you just copied to the clipboard into the document or text field that you need to place it in. Important: Be sure to remove the quotation marks at both the beginning and end of the pathname.

      Check out these Featured Posts...

             • How to automatically save an extra 3% on everything you buy from Amazon

             • 8 tips for building and maintaining a super-fast WordPress blog

             • Should you completely drain your laptop’s battery before recharging it?

             • How to convert a spare internal hard drive into an external USB drive

             • Step-by-step guide to completely ridding your PC of viruses and spyware

Like my tech tips? Subscribe to my free newsletter!

Get more great tips via email plus a chance to win some awesome prizes in my monthly tech gear giveaways!

Not sure? Click here to check out the Newsletter archives.