How to copy file path and file name to the clipboard?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
whatislove6688
New Member
New Member
Posts: 1
Joined: 2018-11-09, 04:20 UTC

How to copy file path and file name to the clipboard?

Post by *whatislove6688 »

Moderator message

Author later replaced this post with a spam post.

Contents removed.
Last edited by whatislove6688 on 2018-11-29, 07:48 UTC, edited 1 time in total.
User avatar
obeg
Junior Member
Junior Member
Posts: 43
Joined: 2006-09-28, 09:20 UTC
Location: Sweden

Re: How to copy file path and file name to the clipboard?

Post by *obeg »

Hi

There is no hidden way to do this out of the box. As you know there is a menu item called "Mark" => "Copy Names With Path to Clipboard"

But you can create an alias for it, making it to a command.
So go to Conifguration => Options ..
Then select Misc.
Select "Alias:" in Redefine hotkeys
Choose an alias that is good for you. I use cm (short for copy marked)
and serach for command cm_CopyFullNamesToClip

Then just select the files wanted and type cm + Enter and there you are.
Last edited by obeg on 2018-11-09, 10:30 UTC, edited 1 time in total.
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: How to copy file path and file name to the clipboard?

Post by *Stefan2 »

Or assign a keyboard shortcut from the same dialog as obeg mentioned.
Set the key combination, then click the [magnifying glass] icon and filter by typing c,o,p,y...





 
User avatar
petermad
Power Member
Power Member
Posts: 16121
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How to copy file path and file name to the clipboard?

Post by *petermad »

If you don't want to make a shortcut for cm_CopyFullNamesToClip, then you can copy the full path and name to the command line with Ctrl+Shift+Enter and then copy the command line to clipboard (ArrowRight, Ctrl+X)
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
obeg
Junior Member
Junior Member
Posts: 43
Joined: 2006-09-28, 09:20 UTC
Location: Sweden

Re: How to copy file path and file name to the clipboard?

Post by *obeg »

Ctrl+Shift+Enter was new to me. Thanks for that!

But to get it to to clipboard I need to use (Shift+ArrowRight, Ctrl+X).
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7016
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: How to copy file path and file name to the clipboard?

Post by *Horst.Epp »

obeg wrote: 2018-11-09, 13:34 UTC Ctrl+Shift+Enter was new to me. Thanks for that!

But to get it to to clipboard I need to use (Shift+ArrowRight, Ctrl+X).
Its much easier to make a button, so its just one click.

Code: Select all

TOTALCMD#BAR#DATA
cm_CopyFullNamesToClip

WCMICONS.DLL,45
Copy full path to clipboard

0
2018

Windows 11 Home, Version 24H2 (OS Build 26100.4351)
TC 11.55 RC7 x64 / x86
Everything 1.5.0.1396a (x64), Everything Toolbar 1.5.5.0, Listary Pro 6.3.2.88
QAP 11.9.0.6 x64
Post Reply