Re:Embedding an EXE inside a .REG file with automatic execution
by matheusmoreira on Thursday July 28, 2022 @10:06PM
(#32272374)
> Why should file extensions be a thing?
They're not that important on Linux. Making files without extensions is simple and common.
Honestly, file extensions are an annoying GUI thing. In the command line you pass the file as parameter to a program, the extension doesn't matter. Simply clicking on a file provides no information to the operating system about what program to invoke though, there needs to be additional metadata. So graphical environments created this notion of file associations based on extensions to the file name.
They're not that important on Linux. Making files without extensions is simple and common.
Honestly, file extensions are an annoying GUI thing. In the command line you pass the file as parameter to a program, the extension doesn't matter. Simply clicking on a file provides no information to the operating system about what program to invoke though, there needs to be additional metadata. So graphical environments created this notion of file associations based on extensions to the file name.