Users browsing this thread: 1 Guest(s)
venam
Administrators
That's a fascinating topic, thanks for bringing it up.
I often use file extensions as visual helpers or when scripting to filter files by extension.

They are definitely useful for recognition by other programs, such as text editors for instance.
More than this, I wrote about default programs (and here) and the extension is definitely used to discover the mime type of the file, and thus the default program to use to open them.

It doesn't end there even, on Linux you can use the binfmt functionality with the E type format to say that the executable is chosen based on the filename extension. So you can, in theory, recreate the Windows behavior on Linux. If I recall properly, that's how WSL (Windows Subsystem for Linux) implements being able to call .exe like explorer.exe.


Messages In This Thread
File extensions - by stratex - 12-11-2020, 02:57 PM
RE: File extensions - by venam - 12-11-2020, 03:43 PM
RE: File extensions - by jkl - 12-11-2020, 03:48 PM
RE: File extensions - by opfez - 12-11-2020, 03:58 PM
RE: File extensions - by jkl - 12-11-2020, 04:09 PM
RE: File extensions - by venam - 12-11-2020, 04:24 PM
RE: File extensions - by pkal - 12-11-2020, 04:36 PM
RE: File extensions - by seninha - 12-11-2020, 04:36 PM
RE: File extensions - by stratex - 12-11-2020, 04:56 PM
RE: File extensions - by jkl - 12-11-2020, 05:04 PM
RE: File extensions - by Dworin - 12-11-2020, 11:52 PM
RE: File extensions - by movq - 13-11-2020, 05:02 PM
RE: File extensions - by mattrose - 13-11-2020, 09:03 PM
RE: File extensions - by Dworin - 14-11-2020, 12:01 AM
RE: File extensions - by mattrose - 14-11-2020, 01:07 AM
RE: File extensions - by z3bra - 14-11-2020, 06:08 AM
RE: File extensions - by venam - 14-11-2020, 06:28 AM
RE: File extensions - by s0kx - 14-11-2020, 06:35 AM