Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ucbvax!techunix.BITNET!steed From: steed@techunix.BITNET.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: Fun with RAM disks (was Re: Improve response time with paths) Message-ID: <2263@techunix.BITNET> Date: Mon, 7-Dec-87 07:56:58 EST Article-I.D.: techunix.2263 Posted: Mon Dec 7 07:56:58 1987 Date-Received: Sat, 12-Dec-87 09:24:35 EST References: <15000048@silver> <1199@lznv.ATT.COM> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: steed%techunix.bitnet@jade.berkeley.edu (Ze'ev (Steed) Shtadler) Organization: Technion, Israel Inst. Tech., Haifa Israel Lines: 39 In article <1199@lznv.ATT.COM> psc@lznv writes: >I do something similar with my C compiler. Most of the time, I boot >off of the C: drive (hard disk), without a RAM disk. When I want to >hack, I put in my "C boot floppy" and boot off of it. The CONFIG.SYS >builds a RAM disk, specifies that C:COMMAND.COM is the command >interpreter (so I can take the floppy out when I'm done), and does >everything else my C:\CONFIG.SYS does. The AUTOEXEC.BAT on the floppy >take populates the RAM disk from an archive on the floppy, then goes to >the C: drive and runs AUTOEXEC (the usual one on the hard disk). I like this idea... >The only limitation is that the boot floppy doesn't run A:AUTOEXEC on >start-up. I assume it's confused by not using A:COMMAND.COM. I >renamed A:AUTOEXEC.BAT to A:GO.BAT, so I just boot off of the floppy >and type "GO". The problem is much more simple: When you specify the SHELL command in CONFIG.SYS you have to tell command.com to execute AUTOEXEC.BAT. This is done by using the /p switch. The corrected CONFIG.SYS line should look like: SHELL=c:\command.com /p Since you boot from A: drive C:\COMMAND.COM executes A:AUTOEXEC.BAT. Ze'ev. -------- Ze'ev Shtadler. Computer Science Faculty, Technion, Israel Institute of Thechnology, Haifa Israel Phone (work): (+972) 4-293849 BITNET: steed@techunix Domain: steed@techunix.technion.ac.il UUCP: ...!psuvax1!techunix.bitnet!steed ARPANET: steed%techunix.bitnet@cunyvm.cuny.edu CSNET: steed%techunix.bitnet@csnet-relay.csnet