Follow symlinks in cm_CopyFullNamesToClip

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

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

Follow symlinks in cm_CopyFullNamesToClip

Post by *formtapez »

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: 9387
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Follow symlinks in cm_CopyFullNamesToClip

Post by *Dalai »

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
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Follow symlinks in cm_CopyFullNamesToClip

Post by *MVV »

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 »

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
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Follow symlinks in cm_CopyFullNamesToClip

Post by *Usher »

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?
Andrzej P. Wozniak
Polish subforum moderator
formtapez
Junior Member
Junior Member
Posts: 48
Joined: 2004-02-13, 19:41 UTC

Re: Follow symlinks in cm_CopyFullNamesToClip

Post by *formtapez »

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: 9387
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Follow symlinks in cm_CopyFullNamesToClip

Post by *Dalai »

formtapez wrote: 2019-05-07, 20:53 UTCAnyway, 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
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply