🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2
Article #962

Re: COM files under OS2?

#962
From: Steve Harrold
Date: Mon, 11 Dec 1989 18:12
10 lines
850 bytes
Re: COM files

I suspect the following statement is true for OS/2.  It is definitely
the case for DOS...

The DOS loader uses the .COM and .EXE extensions merely as *indicators*
that the file is loadable as a program.  Once the file is loaded, DOS
looks at the first two bytes to see if has a COM or an EXE format.  The
magic signature for an EXE file are the characters "MZ".  If "MZ" is found,
an EXE file is processed, if anything else, DOS treats the file as a COM.
Technical Details
Message-ID: <-283389997@hpcupt1.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!ucbvax!hplabs!hpda!hpcupt1!swh
References: <4419@helios.ee.lbl.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!ucbvax!hplabs!hpda!hpcupt1!swh
From: swh@hpcupt1.HP.COM (Steve Harrold)
Newsgroups: comp.os.os2
Subject: Re: COM files under OS2?
Message-ID: <-283389997@hpcupt1.HP.COM>
Date: 11 Dec 89 18:12:25 GMT
References: <4419@helios.ee.lbl.gov>
Organization: Hewlett Packard, Cupertino
Lines: 10