Try adding some pauses in. Pretty sure this is a timing issue. The following worked for me, but the speed of your PC might allow you to reduce the pauses or require you to increase them.
^+c::
Send {F2}
Send ^c
Send {Enter}
Sleep 250
Send {Down}
Send !{Tab}
Sleep 500
Send ^v
Sleep 250
Send {Down}
Sleep 250
Send !{Tab}
return
A couple of additional points for consideration.
- This isn’t picking up the full file name. For that, you would need to have the file extension shown and then CTRL+A once you have hit F2.
- As somewhat of an aside, many of the available Windows Explorer alternatives allow you to directly copy the file name/path to the clipboard. They may be worth exploring. I don’t think I’ll ever go back to the explorer unless I’m forced to. I can just select the files I want, press a keyboard combo (SHIFT+CTRL+P for the app I use), and Alt+TAB and then CTRL+V. Each file name is on a separate line, so it just pastes in.
- Even if you don’t go with a different file manager, you could probably work a little AutoHotKey magic to identify selected files, iterate over them and then put the filenames (separated by newlines) on the clipboard so you can paste in one action. It should be much more reliable.