How to get quick path link to specific file

English support forum

Moderators: Stefan2, white, sheep, Hacker

Post Reply
DRP535
Senior Member
Senior Member
Posts: 224
Joined: 2003-03-03, 11:25 UTC

How to get quick path link to specific file

Post by *DRP535 » 2019-05-19, 05:46 UTC

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: 593
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Re: How to get quick path link to specific file

Post by *Ovg » 2019-05-19, 06:14 UTC

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 9.21a x64, Windows 7 SP1 x64

DRP535
Senior Member
Senior Member
Posts: 224
Joined: 2003-03-03, 11:25 UTC

Re: How to get quick path link to specific file

Post by *DRP535 » 2019-05-19, 07:01 UTC

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: 593
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Re: How to get quick path link to specific file

Post by *Ovg » 2019-05-19, 07:13 UTC

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 9.21a x64, Windows 7 SP1 x64

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

Re: How to get quick path link to specific file

Post by *petermad » 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

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 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit, 'Everything' 1.4.1.935 (x64) and TC 3.0b4 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

DRP535
Senior Member
Senior Member
Posts: 224
Joined: 2003-03-03, 11:25 UTC

Re: How to get quick path link to specific file

Post by *DRP535 » 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. 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: 2053
Joined: 2004-02-02, 20:08 UTC
Contact:

Re: How to get quick path link to specific file

Post by *ts4242 » 2019-05-21, 01:37 UTC

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: 593
Joined: 2014-01-06, 16:26 UTC
Location: MOW

Re: How to get quick path link to specific file

Post by *Ovg » 2019-05-21, 02:12 UTC

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 9.21a x64, Windows 7 SP1 x64

DRP535
Senior Member
Senior Member
Posts: 224
Joined: 2003-03-03, 11:25 UTC

Re: How to get quick path link to specific file

Post by *DRP535 » 2019-05-21, 07:15 UTC

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: 8367
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, Denmark
Contact:

Re: How to get quick path link to specific file

Post by *petermad » 2019-05-21, 07:18 UTC

2ts4242
It is Ctrl+Shift+Enter
Of course - my bad :oops:
License #524 (1994)
Danish Total Commander Translator
TC 9.22a 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit, 'Everything' 1.4.1.935 (x64) and TC 3.0b4 on Android 6.0
Get: Extended Total Commander Menus | PHSM-Calendar

Post Reply