Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!emory!att!linac!midway!gargoyle!ddsw1!indep1!pete From: pete@indep1.UUCP (Peter Franks) Newsgroups: comp.sys.ibm.pc.misc Subject: Re: Boot of A:, switch to C:? Summary: Use COMSPEC Message-ID: <1374@indep1.UUCP> Date: 3 Dec 90 18:23:01 GMT References: <27573f78-5d6comp.sys.ibm.pc.misc@vpnet.chi.il.us> Reply-To: pete@indep1.MCS.COM (Peter Franks) Organization: /usr/lib/news/organization Lines: 27 In article <27573f78-5d6comp.sys.ibm.pc.misc@vpnet.chi.il.us> ron@vpnet.chi.il.us (Ron Winograd) writes: ->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? Try putting the following into your A:\AUTOEXEC.BAT set COMSPEC=c:\command.com c: That will make the system look for command.com on Drive C: instead of the drive you booted from (and log you into it). If you have COMMAND.COM in a different place, use the entire path in the 'set COMSPEC' line. You could do virtually the same thing in your CONFIG.SYS file using the 'SHELL=' command. RTFM. -- +------------------------------------------------------------------------------+ | Peter Franks | pete@indep1.mcs.com OR pete@indep1.uucp | | NI9D | Use whichever one works | +------------------------------------------------------------------------------+