Page 1 of 1

Option to differ overlay icons for *.url files and overlay icons for ntfs-links to these files

Posted: 2023-11-07, 14:04 UTC
by yanch
I have plenty of url-files and often I create hard/soflinks for these files (work by this way due to some reasons). But they look visually absolutely identical in TC now. Yes, there are both links, but in fact, these items are absolutely different in purpose. Is there any way to differ them visually? Because sometimes it creates difficulties in manipulating of such files and hard/softlinks.

It will be OK for me even to hide "arrow" in overlay icon for url-files, but to preserve it for ntfs-links. Is it possible somehow?

Re: Option to differ overlay icons for *.url files and overlay icons for ntfs-links to these files

Posted: 2023-11-07, 17:18 UTC
by hi5
You could use http://totalcmd.net/plugring/NTLinks.html plugin and do a "Define colors by filetype..." so you can distinguish them by color.

Re: Option to differ overlay icons for *.url files and overlay icons for ntfs-links to these files

Posted: 2023-11-07, 20:58 UTC
by Sir_SiLvA
You coul replace the *.url-file icons by using the wincmd.ini
Under [Associations] create the following lines:
FilterX=*.url;
FilterX.icon=<your path/icon-file here>

where X has to be replaced by a number (1 in case you have no associations yet)

Re: Option to differ overlay icons for *.url files and overlay icons for ntfs-links to these files

Posted: 2023-11-08, 07:28 UTC
by yanch
Sir_SiLvA wrote: 2023-11-07, 20:58 UTC You coul replace the *.url-file icons by using the wincmd.ini
I can. But It is not what I asked about. There is no possibility to visually differ *.url and ntfs-links. That`s all.
hi5 wrote: 2023-11-07, 17:18 UTC You could use http://totalcmd.net/plugring/NTLinks.html plugin and do a "Define colors by filetype..." so you can distinguish them by color.
Will check, thank you. But to my mind, author of TC should think about this issue.

Re: Option to differ overlay icons for *.url files and overlay icons for ntfs-links to these files

Posted: 2023-11-08, 12:03 UTC
by Dalai
2yanch
Please keep in mind that hard links are just references to the exact same file. The only way to tell if a file has been linked is by its hard link count. But still, there is no link target and no "original".

The hard link count can be retrieved by the NTLinks and NL_Info plugins.

Junctions and symlinks are already shown with an arrow symbol/overlay in TC.

Regards
Dalai

Re: Option to differ overlay icons for *.url files and overlay icons for ntfs-links to these files

Posted: 2023-11-08, 14:33 UTC
by yanch
So I have got something done, by setting option "Show default folder/file icons from Explorer" in TC and modifying registry in Windows (in order to hide arrow).

Image: https://images2.imgbox.com/67/ca/VcaW1z8e_o.png

But I still think that Ghisler should reconsider behavior of TC in this aspect.

Re: Option to differ overlay icons for *.url files and overlay icons for ntfs-links to these files

Posted: 2023-11-08, 14:51 UTC
by Horst.Epp
yanch wrote: 2023-11-08, 14:33 UTC But I still think that Ghisler should reconsider behavior of TC in this aspect.
Why ?
Without any changes, URLs are shown with some browser icon.
NTFS links have the Link overlay on a folder or application icon.