Make a menu to start wether Win98 or DOS-Mode

By Rammie
Jul 14, 2005
  1. 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 !!
  2. just_a_nobody

    just_a_nobody TS Rookie Posts: 182

    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.
  3. Rammie

    Rammie TS Rookie Topic Starter

    My Autoexec.bat is as follows

    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 ;)
  4. just_a_nobody

    just_a_nobody TS Rookie Posts: 182

    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.
  5. Rammie

    Rammie TS Rookie Topic Starter

    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

    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.
  6. Rammie

    Rammie TS Rookie Topic Starter

    ok, here is my config.sys

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

    device=C:\Windows\Himem.sys /testmem:eek:ff
    device=C:\CD\oakcdrom.sys /D:mscd001
    device=C:\CD\btcdrom.sys /D:mscd001
    device=C:\CD\aspicd.sys /D:mscd001



    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
    Echo Voulez-vous demarrer en :
    Echo 1 - Windows 98
    Echo 2 - MS-DOS ( mode commande )
    Echo 1 ou 2 ?
    If Errorlevel 52 Goto Query
    If Errorlevel 51 CLS
    If Errorlevel 50 Goto DOS
    If Errorlevel 49 Goto Windows
    Goto Query
    Goto Start
    Goto Start

    Any insights or even corrections will be welcomed. :blackeye:
  7. just_a_nobody

    just_a_nobody TS Rookie Posts: 182

  8. just_a_nobody

    just_a_nobody TS Rookie Posts: 182

  9. Rammie

    Rammie TS Rookie Topic Starter

    Hey J-A-N,
    and others as well maybe for future reference,
    I kinda found the solution, took me a while but after a couple hours of
    web browsing I finally found something here

    thanks again J-A-N
  10. patio

    patio TS Maniac Posts: 482

    Why not just hit F8 on boot where that menu choice is given ? ? ?

    patio. :cool:
Topic Status:
Not open for further replies.

Similar Topics

Add New Comment

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...