Path: utzoo!mnetor!uunet!husc6!bbn!rochester!srs!dan From: dan@srs.UUCP (Dan Kegel) Newsgroups: comp.sys.ibm.pc Subject: EXEC call (was: Re: shell script program for pc) Message-ID: <555@srs.UUCP> Date: 18 Jan 88 16:53:01 GMT References: <288@dbase.UUCP> <5589@eecae.UUCP> Reply-To: dan@rem.UUCP (Dan Kegel) Distribution: na Organization: S.R.Systems Lines: 13 In article <5589@eecae.UUCP> driscoll@eecae.UUCP (Mike Driscoll) writes: > Actually, it (the On Command shell) resides on top of command.com's >resident portion, which contains DOS's ONLY loader. Any program using >the DOS exec call needs this loader. Not quite true. 1. Bare PC-DOS (without COMMAND.COM) can load .COM programs via EXEC. That's how COMMAND.COM is probably loaded. 2. Microsoft's MS-DOS Programmer's Reference Manual 3.1 states that only IBM's version (PC-DOS, not generic MS-DOS) has the .EXE loader in (the transient portion of) COMMAND.COM. IBM wanted it that way to save memory. -- Dan Kegel srs!dan@cs.rochester.edu rochester!srs!dan