How to hide file extensions?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
autocart
Posts: 1391
Joined: 26 Sep 2013 15:22

Re: How to hide file extensions?

Post by autocart »

highend wrote:Not in a way you'd probably like.

You could use a custom column with a script that removes the extension but... you'd loose the icon (although you could reduce the size of the normal file name column to only show the icon^^).

How to setup a custom column:

Caption: Whatever
Type: Script
Script:

Code: Select all

return "<cc_base>";
Format: Text
Trigger: Browse
Item type: Files and Folders
This solution still has its valid use, though. :tup:
Reason: The setting in Tools->Customize List does NOT get saved with folder view settings! :blackstorm:
The solution with Custom Columns, however, DOES get saved there.

And it gets even easier using a CC of type Template:
Then the only entry in the template needs to be <cc_base>. No other code.

CON: Only availalbe in the PRO version.

EDIT: It gets funny, though, if one wants to rename an item (inline) under these conditions.
Especially does it not update the base name after rename. -> Can this be considered a bug or is it too special?
another big disadvantage: color filters do not work this way. -> So, it does not have a valid use after all (for me).

admin
Site Admin
Posts: 66678
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to hide file extensions?

Post by admin »

autocart wrote:Reason: The setting in Tools->Customize List does NOT get saved with folder view settings! :blackstorm:
It is saved. If it is ticked. See shot.
To see the attached files, you need to log into the forum.

autocart
Posts: 1391
Joined: 26 Sep 2013 15:22

Re: How to hide file extensions?

Post by autocart »

Ohhhh, :oops:
I guess I did not know how to update a saved folder view properly.
After renewed testing I finally got it to work as u describe, Don. Sorry & Thx.
This is the best solution and it was already there.

Post Reply