Mail Archives: opendos/2010/09/05/07:46:54
I thought in dos 6.22 if a menu was to be put into config.sys it had to be
the first thing in the file followed by all other items.On Mon, 1 Feb
2010, da Silva, Joe wrote:
> 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 :
> ==============================================================
> REM Available ROM space on this machine : E000-EEFF??? (Unused/Auto-detected)
> REM Also mapped over : B000-B7FF (MDA video address space) :
> device=c:\windows\himem.sys
> device=c:\windows\emm386.exe ram i=b000-b7ff
>
> DOS=HIGH,UMB
> BREAK=ON
> COUNTRY=061,,C:\WINDOWS\COMMAND\COUNTRY.SYS
> BUFFERS=30
> FILES=45
> LASTDRIVE=Z
> FCBS=16,16
> rem STACKS=9,256
>
> [MENU]
> MENUITEM = STANDARD, Standard DOS Configuration
> MENUITEM = WINDOZE, Standard Windoze Configuration
> MENUITEM = DOS_USB, DOS with USB support (Cannot use Windoze)
> MENUDEFAULT = WINDOZE, 5
>
> [DOS_USB]
> REM - Panasonic's universal USB-controller driver (formerly Novac)
> device=C:\ASPI_USB.DRV\PANASONC\USBASPI.SYS /v /w
> REM - Adaptec's ASPI disk driver (supports partition table)
> device=c:\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=C:\COMMAND.COM C:\ /E:512 /P
> ==============================================================
>
> 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 :
> ==============================================================
> /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.
> ==============================================================
>
> Alternatively, you can check for the chosen config in
> AUTOEXEC.BAT (which is what I do) using commands like :
>
> if $%CONFIG%==$DOS_USB goto nongui
> if $%CONFIG%==$STANDARD goto nongui
>
>
> BTW, the M$-DOS 7.xx help is found on the Windoze 9X
> CD in the "\tools\oldmsdos" directory.
>
> Joe.
>
>
>>
>
> 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
>>
>>
>> Originally to: All
>>
>> Hi All,
>>
>> Is anyone running <Multi-Config> option with MS-DOS 6.22?
>>
>> If so any tips on how to setup these two startup's?
>>
>> [SET 1]
>> autoexec.bat
>> :
>> : ?? ?? ?? ?? Sysop: Kevin J Klement
>> : ? ?? ?? ?
>> : ?? ?? ?? ?? ?? ?? ?? ??
>> : ?? ?? ?? ?? ?? ?? ?? ?
>> : ?? ?? ?? ?? ?? ?? ?? ??
>> : ?? ? ??
>> : ?? ? ?? Modified: 08/25/09 04:08 pm
>> : Microsoft Network Client version
>> 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=832 /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=c:\dos
>> set comspec=c:\command.com
>> set maximus=c:\max\max.prm
>> set shezcfg=c:\util\shez.cfg
>> set TZ=MST7MDT
>> : set TZ=MST7
>> : set TWNODE=1
>>
>> CALL c:\batch\binkley.bat
>>
>> config.sys:
>>
>> DEVICE=C:\QEMM\QEMM386.SYS R:4 RAM
>> FILES=20
>> DOS=UMB
>> LASTDRIVE=Z
>> FCBS=3,0
>> STACKS=0,0
>> DOS=HIGH
>> DEVICE=C:\QEMM\LOADHI.SYS /R:1 C:\DOS\ANSI.SYS
>> DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\DOS\SETVER.EXE
>> DEVICE=C:\QEMM\LOADHI.SYS /R:2 C:\CDDRIVER\OAKCDROM.SYS /D:OEMCD001
>> DEVICE=C:\UTIL\BNU.SYS /L0=38400 /Z0 /F+
>> DEVICE=c:\qemm\loadhi.sys /r:3 /res=3968 /sqt=ed00-edff
>> C:\lanman.net\IFSHLP.SYS
>> rem DEVICE=C:\UTIL\X00.SYS E 1 B,0,115200 FIFO=8 T=4096 R=8192
>>
>> [END SET 1]
>>
>> [SET 2]
>> autoexec.bat
>> :
>> :
>> :
>> :
>> : ?? ?? ?? ?? Sysop: Kevin J Klement
>> : ? ?? ?? ?
>> : ?? ?? ?? ?? ?? ?? ?? ??
>> : ?? ?? ?? ?? ?? ?? ?? ?
>> : ?? ?? ?? ?? ?? ?? ?? ??
>> : ?? ? ??
>> : ?? ? ?? 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=c:\dos
>> set comspec=c:\command.com
>> set TZ=MST7MDT
>> : set TZ=MST7
>>
>> config.sys:
>>
>> DEVICE=C:\DOS\HIMEM.SYS
>> DEVICE=C:\DOS\EMM386.EXE RAM
>> BUFFERS=30,0
>> FILES=50
>> DOS=UMB
>> LASTDRIVE=Z
>> FCBS=4,0
>> STACKS=0,0
>> DOS=HIGH
>> DEVICE=C:\DOS\SETVER.EXE
>> DEVICE=C:\DOS\ANSI.SYS
>>
>> [END SET 2]
>>
>>
>> Kevin
>>
>>
>>
>>
>>
>
> 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.
>
>
- Raw text -