I’m working with Windows 11, and I don’t want extensions to be hidden, even for known file types. This is clearly the case for my Windows explorer, as you can see in the following screenshot:
- The file “hosts” does not have an extension => OK!
- The file “hosts.ics” has a known extension and it’s shown => OK!
- The file “lmhosts.sam” has an unknown extension and it’s shown => OK!
When I start Notepad++ as an administrator and try to open a file, this situation changes as you can see:
- The file “hosts” does not have an extension => OK!
- The file “hosts.ics” has a known extension and it’s not shown => NOK!
- The file “lmhosts.sam” has an unknown extension and it’s shown => OK!
When I start Notepad++ regularly (not as administrator), the situation is ok again:
- The file “hosts” does not have an extension => OK!
- The file “hosts.ics” has a known extension and it’s shown => OK!
- The file “lmhosts.sam” has an unknown extension and it’s shown => OK!
When I do the same thing with the regular Notepad (Windows application), the behaviour is equal as with Notepad++, so I believe it’s a Windows problem.
Does anybody know how to handle this?


