How to hide file extensions?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
stebobibo
Posts: 51
Joined: 26 Sep 2014 21:25

How to hide file extensions?

Post by stebobibo »

All my files are shown with their extensions after their names. It's rather unnecessary because I can tell what extension something is by the icon. It just makes the window more cluttered. An example is a cat picture called tiger that shows up as tiger.jpg in XYplorer.

PeterH
Posts: 2830
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: How to hide file extensions?

Post by PeterH »

As I remember we had this theme quite often.

Main reply: the file name is tiger.jpg, not just tiger. And XY shows the file name.
At least as the default this is very correct.

stebobibo
Posts: 51
Joined: 26 Sep 2014 21:25

Re: How to hide file extensions?

Post by stebobibo »

PeterH wrote:As I remember we had this theme quite often.

Main reply: the file name is tiger.jpg, not just tiger. And XY shows the file name.
At least as the default this is very correct.
So is there no fix?

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to hide file extensions?

Post by highend »

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
One of my scripts helped you out? Please donate via Paypal

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: How to hide file extensions?

Post by Filehero »

stebobibo wrote:So is there no fix?
No, because it's not a bug.

The windows file systems are extension-centric/-based (better: how Windows make use of them). (Almost) everything functionally relevant to the user is derived from the extension, including the associated programs and the icons. For instance, if one of the icons are not as expected or the program opening on double click is 'wrong' you'd need to know the corresponding extensions.

If all those still are no convincing arguments -> security should be. I always want to see what I am dealing with. And even if the extensions are faked ones it is an information helping me making decisions on the next step.

Cheers,
Filehero

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: How to hide file extensions?

Post by TheQwerty »

:eh:
Check Tools > Customize List > Hide Extensions

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to hide file extensions?

Post by highend »

Since when does this setting exist? oO :blackstorm:
One of my scripts helped you out? Please donate via Paypal

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: How to hide file extensions?

Post by TheQwerty »

highend wrote:Since when does this setting exist? oO :blackstorm:
Introduced as the HideExtensions tweak in v7.70.021 (2008-11-04) and then elevated to the GUI three days later in v7.80.0001.

I'm surprised it isn't older. :o

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to hide file extensions?

Post by highend »

In other words: It appeared yesterday. In a very magical way. Right?
One of my scripts helped you out? Please donate via Paypal

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: How to hide file extensions?

Post by TheQwerty »

Coming soon to a version near you. ;)

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to hide file extensions?

Post by highend »

Downgrading to v7.70.021 now. Maybe I'll discover a few new features in the coming future!
One of my scripts helped you out? Please donate via Paypal

stebobibo
Posts: 51
Joined: 26 Sep 2014 21:25

Re: How to hide file extensions?

Post by stebobibo »

TheQwerty wrote::eh:
Check Tools > Customize List > Hide Extensions
Thanks, TheQwerty, that works. There must have been an update just after I posted this question, because I checked in that spot and I swear it wasn't there.

Enternal
Posts: 1175
Joined: 10 Jan 2012 18:26

Re: How to hide file extensions?

Post by Enternal »

Lol. It's been there for a long time now actually. I actually did not respond because I was confused. TheQwerty just had to come out and say it :lol:

JoeMarfice
Posts: 53
Joined: 26 Feb 2015 20:37

Re: How to hide file extensions?

Post by JoeMarfice »

Filehero wrote:
stebobibo wrote:So is there no fix?
No, because it's not a bug.

The windows file systems are extension-centric/-based (better: how Windows make use of them). (Almost) everything functionally relevant to the user is derived from the extension, including the associated programs and the icons. For instance, if one of the icons are not as expected or the program opening on double click is 'wrong' you'd need to know the corresponding extensions.

If all those still are no convincing arguments -> security should be. I always want to see what I am dealing with. And even if the extensions are faked ones it is an information helping me making decisions on the next step.
"Not a bug" != "Not useful." This is something most other filesystem viewers allow.

And your "security" answer is made irrelevant by the "Ext" column. Instead of cluttering up lists of filenames with extensions appended, I can put the extensions in their own column.

It's also a lame argument because you don't get to decide what's most important to others.

Thanks to TheQwerty for his reply. THAT was useful.

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: How to hide file extensions?

Post by Filehero »

JoeMarfice wrote: It's also a lame argument because you don't get to decide what's most important to others.

Thanks to TheQwerty for his reply. THAT was useful.
How could this community ever survive without a kind guy like you?

Post Reply