Path: utzoo!attcan!uunet!husc6!bloom-beacon!think!ames!pasteur!ucbvax!decwrl!hplabs!hpda!hpcupt1!hpcuhb!hpsmtc1!swh From: swh@hpsmtc1.HP.COM (Steve Harrold) Newsgroups: comp.sys.ibm.pc Subject: Re: Re: Re: command.com in RAM drive... Message-ID: <11470032@hpsmtc1.HP.COM> Date: 18 May 88 17:52:00 GMT References: <26530@clyde.ATT.COM> Organization: Hewlett Packard, Cupertino Lines: 34 Re: COMMAND.COM on a RAM-disk Here's how I do it: 1) Edit your CONFIG.SYS to contain the line: shell=c:\command.com e:\ /p /e:62 ^^^^^^^^^^^^^^ ^^^ ^^ ^^^^^ =======1====== =2= =3= ==4== What this says is: =1= load COMMAND.COM from the root directory on the boot disk (C:) =2= do re-loads of the transient part from E:\ (which is the RAM-disk; insert whatever drive letter YOU use for this purpose) =3= signifies that this is the permanently loaded copy, which means that it will execute the AUTOEXEC.BAT file =4= this has nothing to do with the problem, but use the opportunity to increase your environment space; the value selected depends on what version of DOS you have 2) Insert the following lines EARLY in your AUTOEXEC.BAT file: copy c:\command.com e:\ set compsec=e:\command.com From this point on, the DOS should look for itself on the E: drive, AND other programs that you have that escape to a subshell will find the new COMSPEC environment variable and load from the location indicated therein. --------------------- Steve Harrold ...hplabs!hpsmtc1!swh HPG200/13 (408) 447-5580 ---------------------