Making a nice config.sys boot menu

If you need some help, this should be the first place to look.

Postby tecknojunky » Thu Oct 17, 2002 2:03 am

<font color='#0000FF'>Ever wish Freesco would boot automatically but had a more elegant control on booting to a dos shell instead of hammering the ctrl-c key?

This is what I use.  I'm sure that if you can see that only imagination is the limit.

My config.sys:
Code: Select all
[menu]
menuitem=FREESCO, Start Freesco Router on this computer.
menuitem=SCANDISK, Do a Scandisk and then start Freesco.
menuitem=DOS, DOS Shell.
menudefault=FREESCO,5
menucolor=7,0

[FREESCO]

[SCANDISK]
device=c:\dos\himem.sys /testmem:off
files=10
buffers=10
dos=high,umb
stacks=9,256

[DOS]
device=c:\dos\himem.sys /testmem:off
rem DEVICE=c:\dos\CDMKE.SYS /D:MSCD001 /P:220
files=10
buffers=10
dos=high,umb
stacks=9,256
device=c:\dos\display.sys con=(ega,,1)
country=002,850,c:\dos\country.sys
install=c:\dos\mode.com con cp prepare=((850) c:\dos\ega.cpi)
install=c:\dos\mode.com con cp select=850
install=c:\dos\keyb.com cf,,c:\dos\keybrd2.sys

[COMMON]


My autoexec.bat
Code: Select all
@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
path=c:\dos

IF "%config%"=="FREESCO" GOTO FREESCO
IF "%config%"=="DOS" GOTO DOS
scandisk /AUTOFIX /NOSAVE /NOSUMMARY

:FREESCO
router.bat

:DOS
echo To start Freesco manually, type router and press ENTER.
echo.


Has is, it show the menu 5 secs and defaults to FREESCO.  If SCANDISK is choosen, it will perform a scandisk and the start router.  DOS, well, is dos.

Notice that my DOS section is what would normally be my config.sys if it was to be booted as DOS.  In mine, I load a cdrom driver and French Canadian keymaps.  Put things according to your own needs there instead.</font>
<b>TJ</b><br><br><i><b>freescosoft.ca</b> is <a href='http://www.freesco.org/support-forum/index.php?showtopic=16598' target='_blank'>up for grab</a>.</i>
User avatar
tecknojunky
Advanced Member
 
Posts: 220
Joined: Wed Dec 19, 2001 8:04 am
Location: Montréal, Qc

Return to FAQ - Frequently Asked Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron