6

Looking for a way to copy a file path with a keyboard shortcut. For example, I would like to hit ctrlshiftc and have the selected file or folder's full path copy to the clipboard.

I am aware that I can right click, hold shift and select copy path, but I find myself doing this often, so I would like a faster way.

0

you're looking for pathcopycopy - https://pathcopycopy.github.io/:)

1
  • 1
    Could you please expand on this answer? The software linked appears to provide a GUI modification, doesn't seem to provide a keyboard shortcut?
    – Seanny123
    Oct 23 '18 at 16:46
18

On Windows 10, you can use the Quick Access Toolbar on Windows Explorer.

Select the file in question, and in the Home tab in the Ribbon find "Copy Path". Right click and then select "Add to Quick Access Toolbar".

Quick Access Ribbon

Now you can use the Alt shortcuts built into the Quick Access Toolbar to copy path with one key command. Pressing the alt button will show the number associated with the command. By default it will probably be Alt + 3.

2
  • 1
    This should be the correct answer.
    – Ray
    Jul 24 '19 at 10:26
  • This answer saved my day.
    – satishgoda
    Oct 23 '19 at 22:28
6

In Explorer, you can use a keyboard shortcut "chord" to copy it to the clipboard:

Shift+≣ Menu, a

Menu key:

Menu Key

You many also want to check out the various answers provided in this older SU question for some ideas:

2
  • Thanks! Do you know where could I find a list of keyboard shortcuts for items IN the context menu? As with 'a'. Or actually show them in the context menu?
    – Jānis
    Apr 4 '17 at 13:18
  • @John Since the context menu changes based on the context it's used in, there will be no official/permanent list. To see what ones are available, open the context menu with Shift+Menu, and the shortcut key(s) to use in the chord will be the letter that's underlined. Apr 4 '17 at 13:50
1

It might not be a keyboard shortcut, but you can show the full path in the folder window. Just enable it in the Folder Options.

  1. Open "Folder Options"
  2. Click on the "View" Tab
  3. Click the check box that says "Display the full path in the title bar".

Then you can simply click at the top where the folder location is displayed and it will allow you to select it and then CtrlC to copy it to the clipboard.

Maybe that will help.

0

Because this answers the question in the expected way, and because I have worked with a handful of even fairly recent laptops that do not have the context menu key, I provide the following suggestion for anyone who happens across this post:

Within the File Explorer menu, press Alt (you do not have to hold it from this point forward) and then 'H', followed by 'C' and then 'P' which will select the Copy as Path item from the Home ribbon (see image via link below).

The Home ribbon selected, with 'CP' overlaid on the 'Copy as Path' button:

The Home ribbon selected, with 'CP' overlaid on the 'Copy as Path' button

New contributor
Josh M. is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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