From: billlanam AT california DOT com (Bill Lanam) Newsgroups: comp.os.msdos.djgpp Subject: Re: how to get rid of autoexec.bat Date: Thu, 20 Feb 1997 00:36:09 GMT Message-ID: <330b9a62.9983882@seashell.california.com> References: <5efatv$juq AT chaos DOT kulnet DOT kuleuven DOT ac DOT be> NNTP-Posting-Host: 140.174.210.143 Lines: 25 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 19 Feb 1997 16:49:03 GMT, koen DOT janssens1 AT student DOT kuleuven DOT ac DOT be (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? When you use the menu command in config.sys DOS sets the CONFIG environment variable to the menu name, so in the autoexec.bat file you can after initialization statements common to all configurations do goto %config% . . . :config1 . . . :config2 Bill Lanam