Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Archive » net.micro.pc » COMSPEC help needed
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
COMSPEC help needed [message #72777] Sat, 25 May 2013 10:52 Go to next message
vifl is currently offline  vifl
Messages: 10
Registered: May 2013
Karma: 0
Junior Member
Message-ID: <265@hou2f.UUCP>
Date: Mon, 9-Jul-84 10:26:00 EDT
Article-I.D.: hou2f.265
Posted: Mon Jul  9 10:26:00 1984
Date-Received: Tue, 10-Jul-84 01:39:54 EDT
Organization: AT&T Bell Labs, Holmdel NJ
Lines: 21


The DOS 2.0 documentation for the SET command mentions that the
COMSPEC environment parameter indicates where DOS can find the
file COMMAND.COM when it has to be reloaded. (The command line
intepreter portion of COMMAND.COM resides in high memory and
a number of programs wipe this out - DOS automatically tries to
reload COMMAND.COM after these programs return control to DOS.)

My problem is this:  If I change the COMSPEC by issuing the

SET COMSPEC=B:\COMMAND.COM

command, my PC will still look on the A: disk for the COMMAND.COM
file when it needs to reload it.  This is particulary strange since
when I type SET (after I issue the above command), DOS indicates
that the COMSPEC should be B:\COMMAND.COM.

Any help on the above is appreciated.

Marc S. Meketon
hou2f!vifl
Re: COMSPEC help needed [message #72796 is a reply to message #72777] Sat, 25 May 2013 10:52 Go to previous messageGo to next message
dob is currently offline  dob
Messages: 16
Registered: May 2013
Karma: 0
Junior Member
Message-ID: <592@ihuxj.UUCP>
Date: Tue, 10-Jul-84 23:09:14 EDT
Article-I.D.: ihuxj.592
Posted: Tue Jul 10 23:09:14 1984
Date-Received: Wed, 11-Jul-84 02:43:55 EDT
References: <265@hou2f.UUCP>
Organization: AT&T Bell Labs, Naperville, IL
Lines: 26

After setting COMSPEC to B:\COMMAND.COM, try issueing COMMAND. 
This will reinvoke COMMAND.COM, but this time it will read the
re-defined COMSPEC and will reload itself from the desired drive/
subdirectory. Of course, you will lose a little memory by having
multiple COMMAND.COMs loaded into memory. Another alternative that
I chose, is to write a program to find the COMSPEC string in memory
(buried within IBMBIO or IBMDOS) and patch it. This will
cause COMMAND.COM to be reloaded from your desired location.

If you want the program, send me some mail with your path from
ihnp4, and I will mail it. If enough interest, I will post the
source.



Have fun.

-- 
		
			Daniel M. O'Brien
			AT&T Bell Laboratories
			IH 4A-258
			Naperville, IL 60566
		
			....!ihuxj!dob
		
Re: COMSPEC help needed [message #72825 is a reply to message #72777] Sat, 25 May 2013 10:52 Go to previous message
Anonymous
Karma:
Originally posted by: bregar@orstcs.UUCP
Message-ID: <8500024@orstcs.UUCP>
Date: Thu, 12-Jul-84 13:09:00 EDT
Article-I.D.: orstcs.8500024
Posted: Thu Jul 12 13:09:00 1984
Date-Received: Sat, 14-Jul-84 13:59:31 EDT
References: <265@hou2f.UUCP>
Organization: Oregon State University - Corvallis, OR
Lines: 5
Nf-ID: #R:hou2f:-26500:orstcs:8500024:000:141
Nf-From: orstcs!bregar    Jul 11 12:09:00 1984


How about this: with a disk that has command.com in drive b:, type
"b:command b:".  This should work, at least it did for me.

Bill Bregar
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Public Domain MAKE Program
Next Topic: Monochrome Graphics Boards
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon Oct 03 14:53:34 EDT 2022

Total time taken to generate the page: 0.00276 seconds