Re:The .zip TLD sucks and it needs to be immediately revoked
by JohnFen on Friday May 12, 2023 @05:22PM
(#35922591)
> they originally had such names long ago in DOS
And DOS got them from CP/M before it.
Re:The .zip TLD sucks and it needs to be immediately revoked
by CodeHz on Friday May 12, 2023 @10:17PM
(#35924812)
Btw, you can even run a executable file which has been renamed to any extension (.txt or .whatever) in command line. (See PATHEXT env)
It just recognized by the explorer (and shellexecute api’ third parameter).
So that’s mean all files have “executable” permission by default.
Indeed, a bunch of system binaries are themselves like that for historical reasons - CHCP.COM, FORMAT.COM, MORE.COM etc - because they originally had such names long ago in DOS, and someone somewhere might have a batch file that includes the extension.