Currently all extensions are shown in DetailsView.
This is ok in general.
But for 2 extension .url and .lnk it should be suppress.
How can I achieve this?
How to suppress *.url and *.lnk file name extensions in DetailsView?
Re: How to suppress *.url and *.lnk file name extensions in DetailsView?
Where, in the extension column? If yes, use a custom column with a script insteadCurrently all extensions are shown in DetailsView.
Code: Select all
$ext = gpc(<cc_item>, "ext");
if (regexmatches($ext, "(url|lnk)")) { return ""; }
return $ext;
One of my scripts helped you out? Please donate via Paypal
Re: How to suppress *.url and *.lnk file name extensions in DetailsView?
It is possible, if you set this tweak:
and then enable this:
Tools | Customize List | Hide Extensions
Additionally if you only want them hidden in details view, you'll need to also set this tweak:
follow these instructions exactly on how to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak
ListHideExtShortcutsOnly=1
and then enable this:
Tools | Customize List | Hide Extensions
Additionally if you only want them hidden in details view, you'll need to also set this tweak:
ListHideExtInDetailsOnly=1
follow these instructions exactly on how to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak
Re: How to suppress *.url and *.lnk file name extensions in DetailsView?
Ok, thank you - But this works only partially.jupe wrote: ↑17 Dec 2021 20:13 It is possible, if you set this tweak:
ListHideExtShortcutsOnly=1
and then enable this:
Tools | Customize List | Hide Extensions
Additionally if you only want them hidden in details view, you'll need to also set this tweak:
ListHideExtInDetailsOnly=1
follow these instructions exactly on how to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak
*.url shortcut extensions seem to be hidden. Good!
*.png.lnk shortcut extensions seem to be hidden. Good!
But if I place a shortcut to a *. pdf somewhere else on the partition then the shortcut file name show still
foobar.pdf.lnk
Curiosly Shortcuts to some but not all *.pdf.lnk hide really the *.lnk part.
But other *.pdf.lnk do not work
Any other idea?
Last edited by pstein on 17 Dec 2021 20:37, edited 1 time in total.
Re: How to suppress *.url and *.lnk file name extensions in DetailsView?
Have you set this setting globally:
Tools | Customize List | Hide Extensions
by default it is per tab.
Tools | Customize List | Hide Extensions
by default it is per tab.
Re: How to suppress *.url and *.lnk file name extensions in DetailsView?
Just noticed your edit where you said this, I would try renaming the file slightly, maybe it had a double lnk extention?. Anyway it sounds like it is mostly working properly for you, and that is the best you can achieve currently.
Re: How to suppress *.url and *.lnk file name extensions in DetailsView?
It works now (after Restart)
thank you
thank you
Re: How to suppress *.url and *.lnk file name extensions in DetailsView?
Sorry, where do I add that tweak?
Re: How to suppress *.url and *.lnk file name extensions in DetailsView?
follow these instructions exactly on how to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak
One of my scripts helped you out? Please donate via Paypal
Re: How to suppress *.url and *.lnk file name extensions in DetailsView?
very kind, thank you.