🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #5544

DOS 2.x COMSPEC bug (summary)

#5544
From: cbk
Date: Mon, 03 Feb 1986 22:20
47 lines
2735 bytes
[ Inscribed on the line, in very tiny letters, were the words: EAT ME ]

Synopsis:

   A bug in MS/DOS 2.x causes the COMSPEC environment variable to be ignored.

Background:

   MS/DOS ignores the setting of the COMSPEC environment variable.  The net
effect of this is to look on A: for COMMAND.COM when it needs to be reloaded
(because a program overwrote COMMAND.COMs memory space).   This can be very
annoying if you have a hard disk and the system keeps demanding a floppy in A:!

There are two ways to fix this:

1. There is a program listed in the July 85 issue of "PC Tech Journal" which
   will fix this problem. ("A change in command", Ed Nisley, p. 149)  I don't
   know how well this works as I didn't try it.  On DOS 2.11, you just...

2. Use the SHELL parameter in CONFIG.SYS.  Several people suggested this, as
   well as a letter in the December 85 "PC Tech Journal" (p. 16).  NOTE: this
   doesn't seem to work on 2.0 DOS !!!  The exact format of the command is:

   SHELL = C:\BIN\COMMAND.COM C:\BIN /P

   The "/P" option (not documented) means "permanent" (I think), and the SHELL
   parameter didn't work without the /P option (generated a message that said
   "Specified COMMAND search directory bad").  On DOS 2.0, the SHELL parameter
   always generates the "Specified ... bad" message with no ill side effects.
   On DOS 2.11, a mistake in the SHELL parameter gets you the message, and the
   system doesn't run AUTOEXEC.BAT!   Hmmmm ... mighty strange ...

Anyway, many and profuse thanks to all who replied - I'm now happily 
re-reading COMMAND.COM off my hard disk.

Oh yes, the system in question: NCR Decision Mate V, with (now) DOS 2.11 and
a 10 Mbyte hard disk.

-- Carl Kuck  (apply all standard disclaimers to the preceeding babble)
  
UseNet (west) : {wherever}!sdcsvax!ncr-sd!se-sd!cbk 
       (east) : {wherever}!ihnp4!ncr-sd!se-sd!cbk

PacBell: (619) 450-6271 (w), 944-1705 (h)

Quote #1: Only those who attempt the absurd can achieve the impossible.
Quote #2: 55 mph isn't a good idea, it's just the law...
Technical Details
Message-ID: <30@se-sd.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!ittatc!dcdwest!sdcsvax!ncr-sd!se-sd!cbk

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site se-sd.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!ittatc!dcdwest!sdcsvax!ncr-sd!se-sd!cbk
From: cbk@se-sd.UUCP (cbk)
Newsgroups: net.micro.pc
Subject: DOS 2.x COMSPEC bug (summary)
Message-ID: <30@se-sd.UUCP>
Date: Mon, 3-Feb-86 17:20:26 EST
Article-I.D.: se-sd.30
Posted: Mon Feb  3 17:20:26 1986
Date-Received: Wed, 5-Feb-86 02:42:18 EST
Reply-To: cbk@se-sd.UUCP (Carl Kuck)
Followup-To: net.micro.pc
Organization: NCR Corporation, SE - San Diego
Lines: 47
Keywords: DOS 2.x, COMSPEC, SHELL, command.com