Boot menu from config.sys or autoexec.bat?

dartblazer

Senior member
Aug 18, 2000
492
0
71
First question, which one allows you to make a boot menu, and second, what are th commands for making a boot menu?
 

LordSandMan

Senior member
Nov 2, 2000
738
0
0
I thought it was the boot.ini file. I don't know much about creating them though. Windows has always made all of the modifications I need. I have had to remove some lines from it though when I removed an OS from one partition and installed it on another. What are you trying to do???
 

Adrian Tung

Golden Member
Oct 10, 1999
1,370
1
0
Hmm... if you are referring to those are old DOS commands, then I have long forgotten them already. But I do remember that you put these commands in the config.sys file although I have absolutely no idea what they are now.

If anyone has an old DOS 6.22 manual perhaps they can lend a hand....


:)atwl
 

DaveJ

Platinum Member
Oct 9, 1999
2,337
1
81
In your config.sys do this:

[menu]
menuitem=blah, Load this
menuitem=blah2, Load this instead

[blah]
stuff to load with blah goes here

[blah2]
stuff to load with blah2 goes here

In your autoexec.bat do this:

goto %config%
:blah
load more stuff for blah
goto end

:blah2
load more stuff for blah2
goto end

:end

You can have a max of 9 entries per menu, but you can create submenus by doing this in your config.sys:

[submenu]
item1, load item1
item2, load item2

[item1]
menuitem=load1, Load option 1 submenu1
menuitem=load2, Load option 2 submenu2

This will create a menu that lists item1 and item2, which are actually submenus. For each submenu you create, make a corresponding bracketed section with a menu of the stuff you want to load...

Dave