Button for the action toolbar to copy the current folders name

Discussion, questions and support.
Post Reply
Message
Author
stephen147
Posts: 266
Joined: 18.10.2015, 14:44

Button for the action toolbar to copy the current folders name

#1 Post by stephen147 » 03.04.2020, 11:15

See attached to what I mean.

Image
Last edited by stephen147 on 21.07.2020, 18:58, edited 1 time in total.
Sceenshots made easy with ShareX.

Karol
Posts: 772
Joined: 19.08.2007, 10:05

Re: Button for the address bar to copy the current folders name

#2 Post by Karol » 03.04.2020, 11:57

"Copy name as text" Shift+Alt+Ins
You can add self the command to addres bar.

stephen147
Posts: 266
Joined: 18.10.2015, 14:44

Re: Button for the address bar to copy the current folders name

#3 Post by stephen147 » 03.04.2020, 18:17

That's for the selection.

I was after copying the folder name from the current address bars path and not the selection.

Selection of the ... does not work but not really what I was after.
Sceenshots made easy with ShareX.

Forez
Posts: 463
Joined: 30.01.2016, 11:05
Location: In front of a PC monitor

Re: Button for the address bar to copy the current folders name

#4 Post by Forez » 15.07.2020, 20:21

There is this Shift + Alt + G shortcut, for which an icon is also available that sits on the address bar. I use that icon all the time- and sometimes as a workaround to what you seek, because with it I get the folder's name at the end of the data that I am coping into the clipboard

Odamn-Ete
Posts: 115
Joined: 28.06.2017, 05:10

Re: Button for the address bar to copy the current folders name

#5 Post by Odamn-Ete » 20.07.2020, 04:30

You can paste the following into the DOS command line (bottom right of FC GUI)

Code: Select all

for %I in (.) do echo|set /p="%~nxI" | clip & exit
and it will deliver what you want.

I can't seem to make a button for the command, despite staying up all night trying. Maybe someone else in the forum can show how to do it. There are far better "FC experts" here than I.

Once you've pasted the command into the DOS command line, you can use it again clicking the drop down button at the end of it.

If you don't have the DOS command line in your GUI, check this out to configure it.

best regards

stephen147
Posts: 266
Joined: 18.10.2015, 14:44

Re: Button for the address bar to copy the current folders name

#6 Post by stephen147 » 21.07.2020, 14:43

I meant the action toolbar instead of the address bar.
Odamn-Ete wrote:
20.07.2020, 04:30
I can't seem to make a button for the command, despite staying up all night trying. Maybe someone else in the forum can show how to do it. There are far better "FC experts" here than I.
Here's how you can do this in the normal favourite toolbar anyway with this code in the parameter field:

Code: Select all

/c for %I in (.) do echo|set /p="%~nxI" | clip & exit
Screenshot of the toolbar settings:
Image
Sceenshots made easy with ShareX.

Odamn-Ete
Posts: 115
Joined: 28.06.2017, 05:10

Re: Button for the address bar to copy the current folders name

#7 Post by Odamn-Ete » 21.07.2020, 18:43

Thank you! I appreciate it much. Now I have a very practical addition to my favorites toolbar.

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests