From: shd AT earthling DOT net (Steven Don) Newsgroups: comp.os.msdos.djgpp Subject: Re: .COM's with DJGPP? Date: 19 Apr 1998 22:39:10 GMT Organization: EuroNet Internet Lines: 14 Message-ID: <6hduee$ffh@news.euro.net> References: NNTP-Posting-Host: breda25.pstn02.concepts.nl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk In article , Eli Zaretskii 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