Mail Archives: opendos/1998/05/12/21:14:56
As long as you dont need to load different drivers in your config.sys you
can use the CHIOCE command in your autoexec.bat as a resonable replacment.
As in my example below:
*CONFIG.SYS*
DEVICE=C:\OPENDOS\EMM386.EXE NOEMS DPMI=ON FRAME=NONE /V /R=AUTO /XMSUMB
DEVICE=C:\OPENDOS\DPMS.EXE
DOS=HIGH,UMB
SHELL=C:\COMMAND.COM C:\ /E:512 /P
BREAK=OFF
BUFFERSHIGH=40
FILESHIGH=40
LASTDRIVE=Z
FCBSHIGH=4,4
HISTORY=ON,512,ON
COUNTRY=1,,C:\OPENDOS\COUNTRY.SYS
STACKS=9,256
REM *** load win3.11, cd-rom, zip drive ***
DEVICEHIGH = C:\WINDOWS\IFSHLP.SYS
DEVICEHIGH = C:\SB16\DRV\SBCD.SYS /D:MSCD001 /P:220
DEVICEHIGH = C:\IOMEGA\ASPIPC16.SYS Info
DEVICE = C:\IOMEGA\SCSICFG.EXE /V
DEVICEHIGH = C:\IOMEGA\SCSIDRVR.SYS
*AUTOEXEC.BAT*
@ECHO Off
REM *** set common enviroment variables ***
DPMI ON
VERIFY OFF
PROMPT $P$G
SET SOUND=C:\SB16
SET BLASTER=A220 I5 D1 H5 P330 E620 T6
SET MIDI=SYNTH:1 MAP:E MODE:0
SET TEMP=F:\DOSTEMP
SET MSINPUT=C:\MSINPUT
SET TZ=PST8PDT
SET PGPPATH=F:\INTERNET\MAIL\PGP\
SET PHX=E:\PHOENIX
SET SCSI_DRIVER = C:\IOMEGA
SET SCSI_UTILITY = C:\IOMEGA
SET LMOUSE=C:\LMOUSE
SET OPENDOSCFG=C:\OPENDOS
IF NOT DIREXIST %TEMP% MD %TEMP%
REM *** load cdrom, setup soundcard and monitor,***
LH C:\OPENDOS\NWCDEX.EXE /D:MSCD001
C:\SB16\DIAGNOSE /S
C:\SB16\AWEUTIL /S
C:\SB16\MIXERSET /P /Q
LH C:\UTIL\S64D\S64DMODE SETMODE MONITOR CUSTOM
REM *** RUN NORTON DISKDOCTOR ***
CLS
CD\NORTON
NDD c: d: e: f: g: /quick
CD\
REM *** choice menu ***
CLS
ECHO Press W for Windows
ECHO Press J for JAMIES Windows
ECHO Press D for DOS Prompt
ECHO Press K for Kahn/Kali
ECHO.
CHOICE /c:wjdk Press selection to continue
IF ERRORLEVEL 4 GOTO KALI
IF ERRORLEVEL 3 GOTO DOS
IF ERRORLEVEL 2 GOTO JAMIE
IF ERRORLEVEL 1 GOTO WIN
:KALI
REM *** load diskcache, mouse ***
C:\OPENDOS\NWCACHE.EXE /LEND=ON /MUX /BU=4
D:\MOUSE\MOUSE.EXE /Q
REM *** set enviroment variables ***
PATH C:\OPENDOS;C:\UTIL;C:\SB16;E:\PHOENIX;E:\KALI;E:\KAHN;C:\
SET NETMASK=255.255.255.0
SET GATEWAY=0.0.0.0
SET DNS=204.57.139.14
SET DOMAIN=ATLANTICA.NET
DPMI OFF
EMM386 PIC=ON
CLS
E:
GOTO END
:DOS
REM *** load diskcache,mouse ***
C:\OPENDOS\NWCACHE.EXE /LEND=ON /MUX /BU=4
rem c:\lmouse\cloaking.exe
REM c:\lmouse\mouse.exe /SER 1 /MEMSA
REM *** set enviroment variables ***
PATH
C:\OPENDOS;C:\WINDOWS;C:\UTIL;F:\INTERNET\WINSOCK;C:\SB16;E:\PHOENIX;F:\INTE
RNET\MAIL\PGP;e:\winapps\vienna2;C:\
GOTO END
:JAMIE
REM *** set enviroment variables ***
PATH C:\OPENDOS;D:\WINDOWS
D:
PATH %PATH%;C:\LMOUSE
WIN
GOTO END
:WIN
c:\lmouse\mouse.exe /SER 1 /MEMSA
PATH
C:\OPENDOS;C:\WINDOWS;C:\UTIL;F:\INTERNET\WINSOCK;C:\SB16;E:\PHOENIX;F:\INTE
RNET\MAIL\PGP;e:\winapps\vienna2;C:\
LH C:\MCAFEE\VSHIELD\VSHIELD /ANYACCESS /LOCK /XMSDATA
WIN
CD\
GOTO END
:END
At 09:13 AM 5/12/98 +0100, Ravier, Pierre-Philippe wrote:
>Hello,
>
>In Caldera Open-Dos 7.02, is there a way to do a multi-config config.sys and
>autoexec.bat like MS-DOS 6 and higher can do ? I know that the OpenDos can't
>use the [MENUITEM] and [MENU] commands of the config.sys (commands that are
>been introduced with the MS-DOS 6). But maybe there is a way to have a
>similar possibility by using DR-Dos specific commands.
>The problem is that I am new to Open-Dos. Could you help me, please ?
>
- Raw text -