Follow symlinks in cm_CopyFullNamesToClip

Here you can propose new features, make suggestions etc.

Moderators: Stefan2, white, sheep, Hacker

Post Reply
formtapez
Junior Member
Junior Member
Posts: 48
Joined: 2004-02-13, 19:41 UTC

Follow symlinks in cm_CopyFullNamesToClip

Post by *formtapez » 2019-04-10, 13:00 UTC

I use cm_CopyFullNamesToClip very often to copy file locations and paste them in other applications.
When there are *.LNK files (Symbolic links) which point to another location i would like to have the original location copied, instead the path of the *.LNK file.

Can we have this feature in future versions of Total Commander?
cm_CopyFullNamesToClipDoFollowSymlinks
cm_CopyTrueNamesToClip
cm_CopyResolvedNamesToClip
cm_CopyOriginalNamesToClip
...

User avatar
Dalai
Power Member
Power Member
Posts: 6587
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Follow symlinks in cm_CopyFullNamesToClip

Post by *Dalai » 2019-04-10, 17:36 UTC

Just a correction: Symlinks have nothing to do with .lnk files! Symlinks only work on NTFS file-systems on Vista and higher, but .lnk files have been existing since the early days of Windows 95.

Maybe a content plugin can help you, one that makes the destination of .lnk files available, like Shortcut (totalcmd.net is down ATM). Define a custom columns view and then use cm_CopyFileDetailsToClip.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

User avatar
MVV
Power Member
Power Member
Posts: 8275
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Follow symlinks in cm_CopyFullNamesToClip

Post by *MVV » 2019-04-11, 04:44 UTC

I think some kind of script would be much easier to use - just clicking buttonbar button...

nateliv
Junior Member
Junior Member
Posts: 3
Joined: 2018-12-22, 10:11 UTC

Re: Follow symlinks in cm_CopyFullNamesToClip

Post by *nateliv » 2019-05-07, 01:34 UTC

Hello, take a look here : https://winscp.net/tracker/51






deleted deleted deleted


User modified his posts some days later for to add spam links => User is banned now.
Last edited by nateliv on 2019-05-07, 17:43 UTC, edited 1 time in total.

User avatar
Usher
Senior Member
Senior Member
Posts: 402
Joined: 2011-03-11, 10:11 UTC

Re: Follow symlinks in cm_CopyFullNamesToClip

Post by *Usher » 2019-05-07, 16:59 UTC

2nateliv
1. Providing links with NO description isn't really helpful, it's more like spamming.
2. There is NO mention about Linux or remote locations in this topic, the OP seems to be just a newbie.
Could you explain the reason of your posting, please?
Regards from Poland
Andrzej P. Wozniak

formtapez
Junior Member
Junior Member
Posts: 48
Joined: 2004-02-13, 19:41 UTC

Re: Follow symlinks in cm_CopyFullNamesToClip

Post by *formtapez » 2019-05-07, 20:53 UTC

Anyway, the "Shortcut" solution works somehow. Thanks for the hint, Dalai.
I would be happier if only the file-location and not all other info would be copied to clipboard, but at least i can work with that.

User avatar
Dalai
Power Member
Power Member
Posts: 6587
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Follow symlinks in cm_CopyFullNamesToClip

Post by *Dalai » 2019-05-07, 20:59 UTC

formtapez wrote:
2019-05-07, 20:53 UTC
Anyway, the "Shortcut" solution works somehow. Thanks for the hint, Dalai.
You're welcome :).
I would be happier if only the file-location and not all other info would be copied to clipboard, but at least i can work with that.
It depends on the custom columns you've configured. If you let TC only show the file location (apart from the mandatory columns filename and extension) in the custom columns view then only this information will be copied by cm_CopyFileDetailsToClip. Removing filename and extension after pasting the clipboard contents shouldn't be much of an issue.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

Post Reply