Mail Archives: djgpp/1997/02/20/05:29:10
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
- Raw text -