Mail Archives: djgpp/1997/02/27/13:39:42
In article <Pine DOT LNX DOT 3 DOT 95 DOT 970220204201 DOT 2335D-100000 AT ug2 DOT sthughs DOT ox DOT ac DOT uk>, Nathan Phillips <nathan AT ug2 DOT sthughs DOT ox DOT ac DOT uk> 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
- Raw text -