Mail Archives: djgpp/1998/04/19/19:21:55
In article <Pine DOT SUN DOT 3 DOT 91 DOT 980419141830 DOT 23362N-100000 AT is>, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:
>
>On 18 Apr 1998, Luke Bishop wrote:
>The simple truth is DOS doesn't use the file's extension to decide how
>to load and run it. The extension is only used to look for the
>executable file. When the file is found, DOS examines its first two
>bytes. If they are MZ, DOS runs it as an .EXE-style; otherwise it
>assumes it's a .COM image.
*** Strangely, it also works if the header starts with ZM. Most people already
know this, but the letters MZ come from the initial of DOS-programmer Mark
Zibowski.
Grtz,
SHD
- Raw text -