delorie.com/archives/browse.cgi | search |
Sender: | nate AT cartsys DOT com |
Message-ID: | <36DF2A9A.332EA09E@cartsys.com> |
Date: | Thu, 04 Mar 1999 16:51:38 -0800 |
From: | Nate Eldredge <nate AT cartsys DOT com> |
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: | <Pine DOT GSO DOT 3 DOT 95 DOT 990303220311 DOT 25226A-100000 AT holyrood DOT ed DOT ac DOT uk> <7bl4kq$r29$1 AT oak DOT prod DOT itd DOT earthlink DOT net> <36de423b DOT 261027328 AT news DOT cso DOT uiuc DOT edu> <mvparvia DOT 920579623 AT snakemail DOT hut DOT fi> <bpmurray*STUFFER*-0403991454400001 AT mac-daddy DOT ucsf DOT edu> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |