Eric Twose schreef:
Is it possible to write a mini-menu: "1: freedos network, 2: windows"
and use a variable to bypass these lines?
Any help would be greatly appreciated. Thanks.
Eric Twose.
Just to be curious, where did you obtain MS Client files (disk1, disk2)?
http://www.vfrazee.com/ms-dos/6.22/help/ gives info on DOS (6.xx and
higher) menus
if using a menu, the environment variable %config% is set.
under msdos, it can be any alphanumeric string, under FreeDOS it's only
numeric (0..9)
There's an option for msdos.sys to disable booting into Windows by default,
and therefor reverting to older Windows behaviour (using WIN in
autoexec.bat)
I think it's BOOTGUI=0 (set under [OPTIONS] section.
@echo off
if "%config%"=="" goto end
goto %config%
:0
c:\net\net start server
net share ericc=c:\
net share ericd=d:\
goto end
:1
WIN
goto end
:end
SWITCHES=/F/N
[MENU]
menuitem=0, - Start FreeDOS networking
MENUitem=1, - Start Windows
MENUCOLOR=7,0
MENUDEFAULT=0,20
[0]
;networking specific stuff here
DEVICE=C:\NET\IFSHLP.SYS
[1]
DEVICE=C:\WINDOWS\IFSHLP.SYS
[COMMON]
;common options go here.
LASTDRIVE=Z
BUFFERS=20
FILES=40
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user