Newsgroups: comp.os.msdos.djgpp From: Manfred Heumann Subject: Re: how to get rid of autoexec.bat Sender: news AT hermes DOT hrz DOT uni-bielefeld DOT de (News Administrator) Message-ID: Date: Thu, 27 Feb 1997 16:26:40 GMT References: <5efatv$juq AT chaos DOT kulnet DOT kuleuven DOT ac DOT be> Nntp-Posting-Host: dee.hrz.uni-bielefeld.de Organization: Universitaet Bielefeld, Rechenzentrum Lines: 34 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp In article , Nathan Phillips wrote: > On 19 Feb 1997, koen wrote: > > I'm using the menu command in config.sys, so I'm able to start the computer in > > two different modes(much memory or more speed). But there's only one > > autoexec.bat so after the config.sys, the computer uses always the same Autoexec file > > (whatever choice I made in the menu). > > > > Is there a way to let the computer jump to another bat file? There are two ways to solve your problem: 1. Replace your autoexec.bat with two other batch files with the switch in the shell command. The help system of DOS will explain you how to do this. 2. Just like in your config.sys you can place labels in your autoexec.bat with the same names you used in your config.sys. But the label-syntax in autoexec is different from the syntax used in config: while in your config.sys your labels look something lilke this:" [option1] " they should look like " :option1 " in your autoexec.bat. Hope I could help you, good luck! -- Manni Heumann e-mail: mheumann AT post DOT uni-bielefeld DOT de