To: opendos AT delorie DOT com Message-Id: Organization: Inst. of Evolutionary Physiology & Biochemistry, St.Petersburg From: pavel AT insect DOT ief DOT spb DOT su (Pavel Ozerski) Date: Wed, 13 May 98 10:49:22 +0300 Reply-To: pavel AT insect DOT ief DOT spb DOT su Subject: Re: Multi-Config in Config.sys Precedence: bulk Pierre-Philippe Ravier wrote: >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 DR-DOS supports another features to multi-configuration. All these CONFIG.SYS statements are described in DOSBOOK. In fact, DR-DOS has a built-in language to programming the CONFIG.SYS It supports also labels and subroutines (GOTO, GOSUB, RETURN), console I/O (?,SWITCH,ECHO,CLS,CPOS), time delay (TIMEOUT), calling another CONFIG.SYS-like organized file (CHAIN) etc. You can also set environment variabiles which can be used in AUTOEXEC.BAT to determine the TSR loading etc. Unlike MS/PC-DOS, DR-DOS does not precompile CONFIG.SYS, it executes it sucessfully step by step, even if INSTALL statement is written before DEVICE statement. REM EXAMPLE OF CONFIG.SYS: SET TEMP=C:\TMP TIMEOUT=3 ? "Will you load the XMS driver? [Y/N], 3 sec waiting" GOSUB DRIVERS COUNTRY=033,437,C:\DRDOS\COUNTRY.SYS DOS=HIGH,UMB GOTO EXITCONFIG :DRIVERS TIMEOUT=0 CLS CPOS=10,1 ECHO=Select driver (press number key): CPOS=12,8 ECHO=[1] HIMEM.SYS CPOS=13,8 ECHO=[2] EMM386.EXE SWITCH=Load1,Load2 :Load1 DEVICE=C:\DRDOS\HIMEM.SYS GOTO LoadDone :Load2 DEVICE=C:\DRDOS\EMM386.EXE NOEMS :LoadDone HISHELL SIZE=2160=C:\COMMAND.COM C:\ /P /MH RETURN :EXITCONFIG -- Pavel V. Ozerski | Inst. of Evolutionary Physiology & Biochemistry, office +7 (812)552-6870(291)| Russian Academy of Sciences, FAX +7 (812)552-3012 | Thorez pr. 44, St.Petersburg, 194223, Russia home +7 (812)528-5576 | E-mail: pavel AT insect DOT ief DOT spb DOT su