Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!axion!planet!pegasus!prk From: prk@planet.bt.co.uk (KnightRider) Newsgroups: comp.os.msdos.misc Subject: Re: Boot of A:, switch to C:? Message-ID: Date: 3 Dec 90 09:02:38 GMT References: <2757419a-72comp.os.msdos.misc@vpnet.chi.il.us> Sender: usenet@planet.bt.co.uk (Usenet News Manager) Organization: RT743, BT Research Labs, Martlesham Heath, Ipswich, UK. Lines: 34 ron@vpnet.chi.il.us (Ron Winograd) writes: >Item # 1494 by [Ron Winograd] at vpnet.chi.il.us >Subj: Boot of A:, switch to C:? >Date: 30'th of Nov, 1990 >This has 0 responses. >Hello everyone, > I have a 386, running both MS-DOS 4.01 and UNIX System V. >My question: I have the active hd partition on unix, because that >is the only way I know how to start it. This means that if I want MS-DOS, >I have to boot off a floppy. However, if I do, then I have to keep it in >everytime I exit a program, like Word, or Delux Paint etc.. because it >needs command.com. Is there anyway to "switch control" over to the C: >drive, without having to use fdisk to switch active paritions again and >rebooting? >-Ron I vaguely remember something about the COMSPEC environment variable being the path of where COMMAND.COM is loaded from. Now, don't try entering a SET command, it is, in effect, a read-only variable, to set. In your config.sys file, put a line in : SHELL=C:\dir\command.com However, you have to have a DOS partition on your hard-disk.... Peter Knight BT Research #include