X-Authentication-Warning: delorie.com: mail set sender to opendos-bounces using -f X-Recipient: opendos AT delorie DOT com X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Content-Class: urn:content-classes:message Importance: normal MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Two configs Date: Mon, 1 Feb 2010 13:01:12 +1100 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Two configs thread-index: AcqL0n3H+pHzf9/jTxe54+EnxKZkmQXDp1Dw From: "da Silva, Joe" To: X-OriginalArrivalTime: 01 Feb 2010 02:01:13.0663 (UTC) FILETIME=[6EAD24F0:01CAA2E2] Reply-To: opendos AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: opendos AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk It may be a bit late, but ... As far as I can remember, M$-DOS 6.22 config works pretty much the same as M$-DOS 7.10 config, per below. Basically, CONFIG.SYS is where it all starts. Here's an example : =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D REM Available ROM space on this machine : E000-EEFF??? = (Unused/Auto-detected) REM Also mapped over : B000-B7FF (MDA video address space) : device=3Dc:\windows\himem.sys device=3Dc:\windows\emm386.exe ram i=3Db000-b7ff DOS=3DHIGH,UMB BREAK=3DON COUNTRY=3D061,,C:\WINDOWS\COMMAND\COUNTRY.SYS BUFFERS=3D30 FILES=3D45 LASTDRIVE=3DZ FCBS=3D16,16 rem STACKS=3D9,256 [MENU] MENUITEM =3D STANDARD, Standard DOS Configuration MENUITEM =3D WINDOZE, Standard Windoze Configuration MENUITEM =3D DOS_USB, DOS with USB support (Cannot use Windoze) MENUDEFAULT =3D WINDOZE, 5 [DOS_USB] REM - Panasonic's universal USB-controller driver (formerly Novac) device=3DC:\ASPI_USB.DRV\PANASONC\USBASPI.SYS /v /w REM - Adaptec's ASPI disk driver (supports partition table) device=3Dc:\ASPI_USB.DRV\Adaptec\aspidisk.sys [WINDOZE] [STANDARD] [COMMON] DEVICEHIGH C:\WINDOWS\SETVER.EXE DEVICEHIGH C:\WINDOWS\COMMAND\ANSI.SYS DEVICEHIGH C:\CD_DRV\LITE-ON\CDROM.SYS /D:ATAPI001 rem ? devicehigh C:\net\ifshlp.sys SHELL=3DC:\COMMAND.COM C:\ /E:512 /P =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Now, you have the option of specifying an alternative to AUTOEXEC.BAT via the SHELL command. I presume you can have an individual SHELL command for the individual configuration sections, rather than the above, which has a common SHELL command. Details from the M$-DOS 7.10 help are as follows : =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D /K command Runs the specified command, program, or batch program and then = displays the MS-DOS command prompt. This switch must be the last switch on = the COMMAND command line. This switch is particularly useful for specifying a startup batch = file for the MS-DOS Prompt in Windows (much like AUTOEXEC.BAT for = MS-DOS). To do this, open the DOSPRMPT.PIF file using the PIF Editor, and type = the /K switch in the Optional Parameters box. It is not recommended to = use the /K switch on the SHELL command line in your CONFIG.SYS file; = doing so can cause problems with applications and installation programs = that make changes to your AUTOEXEC.BAT file. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Alternatively, you can check for the chosen config in AUTOEXEC.BAT (which is what I do) using commands like : if $%CONFIG%=3D=3D$DOS_USB goto nongui if $%CONFIG%=3D=3D$STANDARD goto nongui BTW, the M$-DOS 7.xx help is found on the Windoze 9X CD in the "\tools\oldmsdos" directory. Joe. >=20 Joe da Silva Senior Electronic Engineer Landis+Gyr Phone: +61 2 9690 7309 joe DOT dasilva AT landisgyr DOT com http://www.landisgyr.com/ Manage Energy Better -----Original Message----- > From: Kevin Klement [mailto:ccoky AT iglou DOT com] > Sent: Wednesday, September 30, 2009 8:16 AM > To: opendos AT delorie DOT com > Subject: Two configs >=20 >=20 > Originally to: All >=20 > Hi All, >=20 > Is anyone running option with MS-DOS 6.22? >=20 > If so any tips on how to setup these two startup's? >=20 > [SET 1] > autoexec.bat > : > : =D6=B7 =D2=B7 =D2=B7 =D6=B7 Sysop: Kevin = J Klement > : =BA =BA=BA =BA=BA =BA > : =BA=D2 =B7=D2 =D2=B7 =D6=B7 =B7=D2 =C7=B6 =C7=B6 =D3=B7 > : =BA=BA =BA=BA =BA=BA =D3=B7 =BA=BA =BA=BA =BA=BA =BA > : =D3=BD =D3=B6 =C7=BD =D3=BD =D3=B6 =D0=BD =D0=BD =D3=BD > : =D6=BA =BA =D6=BA > : =D3=BD =D0 =D3=BD Modified: 08/25/09 04:08 pm > : Microsoft Network Client version=20 > 3.11 for MS-DOS > : > @echo off > path c:\lanman.net;c:\qemm;c:\dos;c:\util;c:\batch;c:\max;c:\seal_386; > writelog System rebooted ... >> c:\reboot.log > : > : Start the Network: > : > c:\qemm\loadhi /r:0 /lo c:\lanman.net\net initialize > c:\lanman.net\netbind.com > c:\qemm\loadhi /r:4 /lo c:\lanman.net\umb.com > c:\qemm\loadhi /r:2 /lo c:\lanman.net\tcptsr.exe > c:\qemm\loadhi /r:4 /lo c:\lanman.net\tinyrfc.exe > c:\lanman.net\nmtsr.exe > c:\qemm\loadhi /r:4 /lo c:\lanman.net\emsbfr.exe > : > : TSR's: > : > c:\qemm\loadhi /r:1 c:\cddriver\MSCDEX.EXE /D:oemcd001 /L:D > c:\qemm\loadhi /r:2 c:\util\helphand.com > c:\qemm\loadhi /r:2 /res=3D832 /sqf c:\util\clock.com > c:\hyper\hyperdkx.exe /C:2048 /V /H > be sa bright white > cls > echo Loading Microsoft Network Client for MS-DOS > echo. > echo Please Wait... > net logon humaniod xxxxxx /domain:gypsynet /yes /savepw:yes > net time \\gypsy-designs /set /yes > : > : Environment: > : > prompt $p$g > set temp=3Dc:\dos > set comspec=3Dc:\command.com > set maximus=3Dc:\max\max.prm > set shezcfg=3Dc:\util\shez.cfg > set TZ=3DMST7MDT > : set TZ=3DMST7 > : set TWNODE=3D1 >=20 > CALL c:\batch\binkley.bat >=20 > config.sys: >=20 > DEVICE=3DC:\QEMM\QEMM386.SYS R:4 RAM > FILES=3D20 > DOS=3DUMB > LASTDRIVE=3DZ > FCBS=3D3,0 > STACKS=3D0,0 > DOS=3DHIGH > DEVICE=3DC:\QEMM\LOADHI.SYS /R:1 C:\DOS\ANSI.SYS > DEVICE=3DC:\QEMM\LOADHI.SYS /R:2 C:\DOS\SETVER.EXE > DEVICE=3DC:\QEMM\LOADHI.SYS /R:2 C:\CDDRIVER\OAKCDROM.SYS /D:OEMCD001 > DEVICE=3DC:\UTIL\BNU.SYS /L0=3D38400 /Z0 /F+ > DEVICE=3Dc:\qemm\loadhi.sys /r:3 /res=3D3968 /sqt=3Ded00-edff > C:\lanman.net\IFSHLP.SYS > rem DEVICE=3DC:\UTIL\X00.SYS E 1 B,0,115200 FIFO=3D8 T=3D4096 R=3D8192 >=20 > [END SET 1] >=20 > [SET 2] > autoexec.bat > : > : > : > : > : =D6=B7 =D2=B7 =D2=B7 =D6=B7 Sysop: Kevin = J Klement > : =BA =BA=BA =BA=BA =BA > : =BA=D2 =B7=D2 =D2=B7 =D6=B7 =B7=D2 =C7=B6 =C7=B6 =D3=B7 > : =BA=BA =BA=BA =BA=BA =D3=B7 =BA=BA =BA=BA =BA=BA =BA > : =D3=BD =D3=B6 =C7=BD =D3=BD =D3=B6 =D0=BD =D0=BD =D3=BD > : =D6=BA =BA =D6=BA > : =D3=BD =D0 =D3=BD modified: 03/11/09 05:12 pm > @echo off > path c:\dos;c:\util;c:\batch;c:\max;c:\seal_386; > writelog System rebooted ... >> c:\reboot.log > : > c:\util\helphand.com > : > : Environment: > : > prompt $p$g > set temp=3Dc:\dos > set comspec=3Dc:\command.com > set TZ=3DMST7MDT > : set TZ=3DMST7 >=20 > config.sys: >=20 > DEVICE=3DC:\DOS\HIMEM.SYS > DEVICE=3DC:\DOS\EMM386.EXE RAM > BUFFERS=3D30,0 > FILES=3D50 > DOS=3DUMB > LASTDRIVE=3DZ > FCBS=3D4,0 > STACKS=3D0,0 > DOS=3DHIGH > DEVICE=3DC:\DOS\SETVER.EXE > DEVICE=3DC:\DOS\ANSI.SYS >=20 > [END SET 2] >=20 >=20 > Kevin >=20 >=20 >=20 >=20 >=20 PLEASE CONSIDER OUR ENVIRONMENT BEFORE PRINTING THIS EMAIL. This e-mail (including any attachments) is confidential and may be = legally privileged. If you are not an intended recipient or an = authorized representative of an intended recipient, you are prohibited = from using, copying or distributing the information in this e-mail or = its attachments. If you have received this e-mail in error, please = notify the sender immediately by return e-mail and delete all copies of = this message and any attachments. Thank you.