Make a menu to start wether Win98 or DOS-Mode

Status
Not open for further replies.

Rammie

Posts: 6   +0
Hello all
new here in techspot and you guys might be able to help me out
I am trying to make a boot menu in my config.sys file
so I can either start my laptop in Win98 or the DOS Mode.
so far I was able to create my menu, but there is always windows loading
first, then I get my menu, but wether I choose DOS or Windows,
it still boots up my windows. I tried to locate the Boot.ini File in Win98, but there doesn't seem to be one. I tried to disable the BootGUI in MSDOS.SYS but then my windows doesn't load.... I even tried to locate the bootmenu (the one that appears when you press F8 while loading) or even create another bootmenu, but I can't seem to be able to do either, and since I don't want the whole bunch of menu items in the original Bootmenu, that is the reason I want to have only 2 items, because when this works, I'll copy it to other laptops in the Dept.

Thanks !!
Marc
 
I am not sure, it has been a long time, but I think you may need to edit your AUTOEXEC.BAT file. However, before you do that, make sure you make a startup disk, if you don't already have one, by going to start/settings/control panel add/remove programs, and at the top, there is a button to make a startup disk.
 
My Autoexec.bat is as follows






:D
empty
hehehehe
tried to insert a call to the config.sys file but windows seems to have a prime place BEFORE even calling config.sys or autoexec.bat

thanks anyways ;)
 
The Autoexe.bat file, is the file, to launch batch programs, that you want to run during bootup. You may need to do some web browsing, but I am sure the autoexec.bat file is the one you need to add your menu to.
 
ok,
tried to make a boot menu from autoexec.bat,
but I still have the same problem as before,
Windows 98 overlooks the initial autoexec.bat, starts up windows,
gives me the menu I created, and overlooks my choice by booting windows
:dead:

hurray for puke: M$
I'll try to post my modified config.sys and/or autoexec.bat as soon as I can xfer them to my flashdrive.
 
ok, here is my config.sys

[MENU]
menuitem DOS, Start computer in DOS Mode.
menuitem WIN, Start computer in Windows.
menudefault WINDOWS,30
menucolor 7,0

[DOS]
device=C:\Windows\Himem.sys /testmem:eek:ff
device=C:\CD\oakcdrom.sys /D:mscd001
device=C:\CD\btdosm.sys
device=C:\CD\flashpt.sys
device=C:\CD\btcdrom.sys /D:mscd001
device=C:\CD\aspi2dos.sys
device=C:\CD\aspi8dos.sys
device=C:\CD\aspi4dos.sys
device=C:\CD\aspi8u2.sys
device=C:\CD\aspicd.sys /D:mscd001

[WIN]
WIN.COM

[COMMON]
files=30
buffers=30
dos=high,umb
stacks=9,256
lastdrive=z


and here is my attempt to make a menu in my autoexec.bat but I seem to have a deadlock in there somewhere (adapted it from an article on registry mechanics)

@Echo Off
CLS
:Start
Echo Voulez-vous demarrer en :
Echo 1 - Windows 98
Echo 2 - MS-DOS ( mode commande )
Echo
:Query
Echo 1 ou 2 ?
GetKey
If Errorlevel 52 Goto Query
If Errorlevel 51 CLS
If Errorlevel 50 Goto DOS
If Errorlevel 49 Goto Windows
Goto Query
:DOS
COMMAND.COM
Goto Start
:Windows
Win.com
Goto Start

Any insights or even corrections will be welcomed. :blackeye:
 
Status
Not open for further replies.
Back