delorie.com/archives/browse.cgi | search |
From: | Endlisnis <s257m AT unb DOT ca> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: BASH as default DOS shell under Windows 98? |
Date: | Thu, 04 Mar 1999 21:55:39 -0400 |
Organization: | BrunNet |
Lines: | 22 |
Message-ID: | <36DF399B.65A46EEB@unb.ca> |
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> |
NNTP-Posting-Host: | ftnts4c13.brunnet.net |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 4.04 [en] (Win95; U) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
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) > > If you take a .EXE an change one of those bytes DOS will > usually complain that the program is "too big to fit in > memory" (as .COM files have to be single segment so < 64k). > I don't have a PC handy at the moment to check COMMAND. I checked, and it is "MZ". -- (\/) Endlisnis (\/) s257m AT unb DOT ca Endlisnis AT GeoCities DOT com Endlisnis AT BrunNet DOT Net Endlisnis AT HotMail DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |