How to get quick path link to specific file

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
DRP535
Senior Member
Senior Member
Posts: 301
Joined: 2003-03-03, 11:25 UTC

How to get quick path link to specific file

Post by *DRP535 »

This will be a weird question but I can't think where else to ask it. For purpose of inserting hyperlinks in e-mail/instant message etc. how can I get TC to output a quick and easy network path link of a specific file for clipboard copying?

I can right click and select properties in the context menu and look at Location: but this doesn't include the filename, only the location. Similarly I can get the filename without the location, but I want the two to be combined together so I can copy the whole location/filename.ext for insertion elsewhere.

The only way I can get this is to create a shortcut, then check the Location info from the context menu for the shortcut to give me the full link for the location+file.ext although contained within quotation marks. So I have to delete the quotation marks and delete the pointless shortcut file afterwards as well. It's all a bit messy and convoluted and annoying. There must be a simple one-step way of doing this, but I'm stuffed if I can find out what it is. Any help please?
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: How to get quick path link to specific file

Post by *Ovg »

2DRP535
Internal command 2018

Code: Select all

cm_CopyFullNamesToClip
doesn't work?
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
DRP535
Senior Member
Senior Member
Posts: 301
Joined: 2003-03-03, 11:25 UTC

Re: How to get quick path link to specific file

Post by *DRP535 »

Brilliant! Thank you so much. This is going to save me so much much time and repetitive messing about it's ridiculous. You have no idea. :D
Last edited by DRP535 on 2019-05-19, 07:21 UTC, edited 1 time in total.
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: How to get quick path link to specific file

Post by *Ovg »

Assign hotkey to cm_CopyFullNamesToClip via Configuration->Misc->Hotkey (There is Help Button :mrgreen: also) or make a button on the button bar, eg:

Code: Select all

TOTALCMD#BAR#DATA
cm_CopyFullNamesToClip

C:\Program Files\Total Commander\Wcmicons3.dll,45
Copy Full Names to Clipboard


2018
Copy this lines and paste it into button bar. You can change path to icons file to your actual path.
Place cursor on file or select desired files and press Hotkey or Button on the Button bar to copy name(s) to clipboard.
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How to get quick path link to specific file

Post by *petermad »

Shift+Ctrl+Click on a file will transfer the full path to the command line where you can just copy i from

EDITED: It is Shift+Ctrl+Enter
Last edited by petermad on 2019-05-21, 07:19 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
DRP535
Senior Member
Senior Member
Posts: 301
Joined: 2003-03-03, 11:25 UTC

Re: How to get quick path link to specific file

Post by *DRP535 »

petermad wrote: 2019-05-20, 17:52 UTC Shift+Ctrl+Click on a file will transfer the full path to the command line where you can just copy i from
Nah that doesn't work in my configuration. CTRL+Shift+file in my config selects the file (or group of contiguous files) for movement operations - highlighted red.

But that's OK because I have a configured hotkey now for CTRL+SHFT+C = copy full path/filename to clipboard and it works brilliantly.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Re: How to get quick path link to specific file

Post by *ts4242 »

DRP535 wrote: 2019-05-21, 00:25 UTC
petermad wrote: 2019-05-20, 17:52 UTC Shift+Ctrl+Click on a file will transfer the full path to the command line where you can just copy i from
Nah that doesn't work in my configuration.
It is Ctrl+Shift+Enter
User avatar
Ovg
Power Member
Power Member
Posts: 756
Joined: 2014-01-06, 16:26 UTC

Re: How to get quick path link to specific file

Post by *Ovg »

2petermad
2ts4242
Too many extra clicks needed ..., doesn't work for a few files ...
It's impossible to lead us astray for we don't care even to choose the way.
#259941, TC 11.01 x64, Windows 7 SP1 x64
User avatar
DRP535
Senior Member
Senior Member
Posts: 301
Joined: 2003-03-03, 11:25 UTC

Re: How to get quick path link to specific file

Post by *DRP535 »

Ovg wrote: 2019-05-21, 02:12 UTC 2petermad
2ts4242
Too many extra clicks needed ..., doesn't work for a few files ...
It also puts quotation marks around the path/filename link, which is another thing you have you to edit out before pasting, so yeah, just too hard compared to the hotkey solution.
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How to get quick path link to specific file

Post by *petermad »

2ts4242
It is Ctrl+Shift+Enter
Of course - my bad :oops:
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply