Message-Id: <4.3.2.7.0.20000806092647.00a99af0@mail.highfiber.com> X-Sender: raster AT mail DOT highfiber DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Sun, 06 Aug 2000 09:36:39 -0600 To: opendos AT delorie DOT com From: Charles Dye Subject: Re: DR-DOS 7.03: bug in Install-procedure?? In-Reply-To: <4.3.2.7.0.20000806034311.00b0a360@pop5.inter.nl.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Reply-To: opendos AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: opendos AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk At 03:43 AM 8/6/00 +0200, you wrote: >I found that the DRDOS boot-procedure starts by reading DConfig.sys but was >_always_ followed by reading the Win95 Autoexec.bat-file; so the >DRDOS-specific >commands were not executed or installed. > >This behaviour was independent of the used command-processor: DRDOS >Command.com >or 4DOS.com. > >I tried to find the program that called the Autoexec.bat file. >Finally - using a hex-editor - I found this entry in the command-processors >[drdos]Command.com, respectively [4dos6]4Dos.com. >The first 'Autoexec'-entry in both files is the one to be changed to >'AutoDOS7'. > >Testing both command-processors I found that the correct procedure was >used now: >it starts by reading 'DConfig.sys', then the used (changed) >commandprocessor is >loaded, which reads 'AutoDOS7.bat'. Well, that's one way, I guess. But instead of patching the command shells, I think it would be far preferable to simply set up your SHELL statement correctly: SHELL=C:\DRDOS\COMMAND.COM C:\DRDOS /E:512 /P:AUTO.BAT SHELL=C:\4DOS\4DOS.COM C:\4DOS /E:512 /P:AUTO.BAT (I use AUTO.BAT instead of AUTODOS7.BAT simply because it's easier to type. This is a generic example -- I notice that your file locations are different.) Don't know why the setup program didn't do this for you automatically, but anyhow the /P switch is the correct way to handle this. If you patch the default autostart filename in the executables, of course, the patched shell will default to AUTODOS7.BAT (or whatever) no matter which operating system it's running under. raster AT highfiber DOT com