Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!husc6!bu-cs!bucsb.bu.edu!madd From: madd@bucsb.bu.edu.UUCP (Jim "Jack" Frost) Newsgroups: comp.sys.ibm.pc Subject: Re: getting COMMAND.COM to load from C: in DOS2.1? Message-ID: <629@bucsb.bu.edu.UUCP> Date: Thu, 4-Dec-86 22:47:48 EST Article-I.D.: bucsb.629 Posted: Thu Dec 4 22:47:48 1986 Date-Received: Fri, 5-Dec-86 06:22:58 EST References: <817@aluxz.UUCP> Reply-To: madd@bucsb.bu.edu.UUCP (Jim "Jack" Frost) Distribution: na Organization: ODO (Organization for the Disorganization of Organization) Lines: 38 Keywords: COMSPEC, DOS2.1, COMMAND.COM Mood: Relatively happy In article <817@aluxz.UUCP> revatt@aluxz.UUCP (EVATT, ROBERT S) writes: > >Can anyone tell me a workaround to get the transient portion of >COMMAND.COM to reload from something beside the A: drive? >I have tried COMMAND C:\ /P, but this just gets A: spinning and I have >to reboot. > >Other info: >Yes, I know I could upgrade to 3.X. >I have a PCjr with 640K, two floppies, Impulse sidecar, and SPC 20M disk. > I would have replied by mail, but out mail seems to hate me. I haven't used version 2.x in awhile, but I would expect it would run like 3.x in this case. The DOS manual points out that there are 2 different commands having to do with the shell. One, in the CONFIG.SYS, is SHELL=. This command is used to tell DOS which shell to load (I have written my own and like to have it loaded by default). Anyway, the manual says to be sure you remember that this command does NOT tell DOS to reload from wherever you told it to load from. Instead, DOS uses the environment variable COMSPEC. I have this set in my AUTOEXEC.BAT file. Set it like this: SET COMSPEC=C:\COMMAND.COM This definitely works on 3.x and I'm pretty sure it does on 2.x, since my friend with a Tandy 1000 (DOS 2.11) has his run from C:. Hope this helps, and I'm sorry if I used over-simplistic language. -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - Jim Frost * The Madd Hacker - UUCP: ..!harvard!bu-cs!bucsb!madd | ARPANET: madd@bucsb.bu.edu CSNET: madd%bucsb@bu-cs | BITNET: cscc71c@bostonu -------------------------------+---+------------------------------------ "Oh beer, oh beer." -- Me | [=(BEER) <- Bud the Beer (cheers!)