Article View: comp.os.msdos.programmer
Article #2892Re: .com and .exe files
From: Greg Smith
Date: Thu, 01 Nov 1990 14:39
Date: Thu, 01 Nov 1990 14:39
22 lines
1310 bytes
1310 bytes
St>renaming .exe file to .com files, and .com to .exe.
St>Imagine my suprize
St>when they all still worked! This is not right by my
St>knowledge of dos.
St>Btw, I am using dos 3.3 with 4dos 4.03a.
(If 4Dos 4.03a is around I would like to know. I have 3.02a)
The extensions of the files are mainly there for our referance. The way the
computer differentiates (sp) between the files is the header at the
beginning of the file. on EXE's an "MZ" will be the first two bytes in
the file, while com files start out with actual code. Also, following the
MZ is a Program Segment Prefix(PSP) which defines many other needs, and
memory/stack useage terms.
Greg
--- QuickBBS 2.64 (Eval)
* Origin: Bohemia BBS system (303)449-8946 (200:5000/301)
--
Greg Smith - via MetroNet node 200:5000/301
For best results, reply via UUCP: ...!boulder!bohemia!Greg.Smith
Technical Details
Message-ID:
<92.2730D05F@bohemia.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!ub!boulder!bohemia!Greg.SmithShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!ub!boulder!bohemia!Greg.Smith From: Greg.Smith@bohemia.UUCP (Greg Smith) Newsgroups: comp.os.msdos.programmer Subject: Re: .com and .exe files Message-ID: <92.2730D05F@bohemia.UUCP> Date: 1 Nov 90 14:39:00 GMT Organization: Bohemia BBS- MetroNet Gateway. Boulder, CO. Lines: 22