Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a file explorer shell extension called "Copy File Path" or "Copy Folder Path", depending on which pane I am in in file explorer, which copies the full path of a file or a folder to the clipboard. Because it's very handy for me, I use it many times during the day.

To make it more productive, I would like to assign a function key to it instead of using the right mouse click context menu, looking for it in the menu (big menu because of many extensions) and selecting it. The way I want to use it is select the file with the mouse and hit the function key.

Is there a utility or tool, tray taskmaybe, which can add this functionality to Windows?

share|improve this question

1 Answer 1

Download and install AutoHotKey. Create a new text file and have the extension be .ahk so script.ahk is the filename. Paste the following into the script file:

+^v::
str := clipboard
clipboard := str
Send, ^v
return

Save the file and double click on it to run it. An icon indicating that it's active should show up in your taskbar notification area.

What that'll do is when you press Ctrl+Shift+V it'll convert what is in the clipboard into text and then paste it. What this allows you to do is do a regular Ctrl+C on a file or a directory in explorer and then a Ctrl+Shift+V in notepad (or whatever) and get the string of the filepath.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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