Page 1 of 1

Button for the action toolbar to copy the current folders name

Posted: 03.04.2020, 13:15
by stephen147
See attached to what I mean.

Image

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

Posted: 03.04.2020, 13:57
by Karol
"Copy name as text" Shift+Alt+Ins
You can add self the command to addres bar.

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

Posted: 03.04.2020, 20:17
by stephen147
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.

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

Posted: 15.07.2020, 22:21
by Forez
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

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

Posted: 20.07.2020, 06:30
by Odamn-Ete
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

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

Posted: 21.07.2020, 16:43
by stephen147
I meant the action toolbar instead of the address bar.
Odamn-Ete wrote: 20.07.2020, 06: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

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

Posted: 21.07.2020, 20:43
by Odamn-Ete
Thank you! I appreciate it much. Now I have a very practical addition to my favorites toolbar.