Mail Archives: djgpp/1997/02/20/12:24:17
koen (koen DOT janssens1 AT student DOT kuleuven DOT ac DOT be) 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?
...Not directly, but why not do this?
---AUTOEXEC.BAT---
set VAR1=CONT1
set VAR2=CONT2
goto %CONFIG% <-- that has the menu code for the startup option selected
:(MENUCODE1) <-- these are batchfile labels
REM DO MENU ITEM #1 STUFF
goto fin
:(MENUCODE2)
REM DO MENU ITEM #2 STUFF
goto fin
:fin
cd c:\
c:
---AUTOEXEC.BAT---end---
--
Just another lamer in the soup,
Lance Kalzus <kalzus AT b48-174 DOT datanet DOT nyu DOT edu>
(E0DBFF1A76CDBA56 2359331145127FC7
1536/B2EC55A5 1996/10/12)
- Raw text -