[comp.os.msdos.programmer] Cute behavior from a PC

fisher@sc2a.unige.ch (Markus Fischer) (07/16/90)

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