Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!sdd.hp.com!samsung!uunet!mcsun!cernvax!chx400!ugun2b!ugsc2a!fisher From: fisher@sc2a.unige.ch (Markus Fischer) Newsgroups: comp.os.msdos.programmer Subject: Re: Cute behavior from a PC Message-ID: <203@sc2a.unige.ch> Date: 16 Jul 90 10:21:23 GMT References: <1139@manta.NOSC.MIL> <1274@sixhub.UUCP> Organization: University of Geneva, Switzerland Lines: 21 In article <1274@sixhub.UUCP>, davidsen@sixhub.UUCP (Wm E. Davidsen Jr) writes: > In article <1139@manta.NOSC.MIL> grantk@manta.NOSC.MIL (Kelly J. Grant) writes: > > | It turned out that an improper SHELL= line was included in the > | config.sys file. His shell= said this: > | > | shell=C:\command.com /e:1024 > | > | Note the missing C:\ parameter, as well as the missing /p terminator. > | So, the beharior was to boot without running autoexec. > > Right. The /P option has two effects. It runs autoexec and it keeps > the shell from terminating if the command exit is entered. I don't > remember what happens when you terminate the only shell running, but it > can't be a desirable thing to do. ... but if, for some reason, you want to dissable `exit', without executing the `autoexec', you can add the /d switch. (This seems to be a more or less undocumented feature, works for IBM DOS 3.30.) Markus Fischer Dpt. of Anthropology, Geneva