TransWikia.com

Keyboard shortcut to select the full directory path of the active window

Super User Asked by user3026965 on December 29, 2021

Need to select (then copy) the full directory path of the active window by keyboard shortcut. Is it possible?

For example, I need to put into the clipboard (so I can insert into command prompt, anaconda, etc.):

M:shoppinggardenfertilizerbanana

3 Answers

Alternatively, you can use Shift+Context Menu, A (note that this may differ if you have non-standard shell context menu entries with overlapping mnemonic/access keys). This may produce more keystrokes on it's own, but you can circumvent that with an .ahk script to achieve a single-input solution. You can technically bind any of the mentioned methods through AHK actually, but it can be a bit of a learning curve for those not aquainted with the scripting nuances, particularly when multiple modifier keys are involved.

Answered by Arctiic on December 29, 2021

In Windows Explorer and most web browsers, hit Alt-D to select the path in the address bar then Ctrl-C to copy.

This Alt-D keyboard accelerator recalls the URL bar in Internet Explorer 6 and earlier, which was preceded by the word "Address" with an underlined "d":

Screenshot of Internet Explorer 6

Answered by bkraines on December 29, 2021

If you are using File Explorer (Windows Explorer), you need to combine different keys. Press F4 then Ctrl+A followed by Ctrl+C

Or

As mentioned by @hextech on the comments, use Ctrl+L, then Ctrl+C

Answered by Reddy Lutonadio on December 29, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP