From: Endlisnis 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: <7bl4kq$r29$1 AT oak DOT prod DOT itd DOT earthlink DOT net> <36de423b DOT 261027328 AT news DOT cso DOT uiuc DOT edu> NNTP-Posting-Host: ftnts4c13.brunnet.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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