Sender: nate AT cartsys DOT com Message-ID: <36DF2A9A.332EA09E@cartsys.com> Date: Thu, 04 Mar 1999 16:51:38 -0800 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: BASH as default DOS shell under Windows 98? References: <7bl4kq$r29$1 AT oak DOT prod DOT itd DOT earthlink DOT net> <36de423b DOT 261027328 AT news DOT cso DOT uiuc DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Bernard P. Murray, PhD wrote: > Yes, just check the first two bytes of a program and if they > are "MZ" it will be loaded as a .EXE and if not then as a .COM > (the extensions only tell DOS that it is actually a program). > (I used to know whose initials M.Z. were) Mark Zbikowski, according to Que's "DOS Programmer's Reference", an original DOS hacker. "ZM" also reputedly works. As another bit of trivia, DOS memory control blocks contain the byte "Z" if the last block, and "M" otherwise... -- Nate Eldredge nate AT cartsys DOT com