The following is a quote from gdaguo's post on February 23, 2004, 04:39:45 PM:
Do the essential drivers and TSR programs in the DOS boot disk have to be loaded in the config file? Can they be loaded in autoexec.bat?
I prefer to use ctload to load drivers, so that they can be loaded dynamically after booting, without having to be in config.sys. As in the following config.sys and autoexec.bat
config.sys
menuitem=CLEAN, Clean DOS for BIOS update, no memory manager loaded...
menuitem=CD, Start computer with CD-ROM support.
menuitem=NOCD, Start computer without CD-ROM support.
menuitem=NTFSDOS, Start with NTFS File System Driver,NTFSDOS V3.02R+(ReadOnly)
menuitem=USB, Start with IDE/USB/FireWire driver,support FAT32/NTFS,NERODISK
menuitem=USBHD,Start with USB mass storage driver, USBASPI.SYS&DI1000DD.SYS
menuitem=USBCD,Start with USB CDROM driver, USBASPI.SYS&USBCD.SYS
menuitem=1394HD,Start with 1394 mass storage driver,Sbp2aspi.sys&Nj32disk.sys
menuitem=1394CD,Start with 1394 CDROM driver,Sbp2aspi.sys&cdsdmini.sys
menudefault=CLEAN,30
menucolor=7,0
device=himem.sys /testmem

ff
dos=high,umb
device=himem.sys /testmem

ff
dos=high,umb
device=himem.sys /testmem

ff
dos=high,umb
device=himem.sys /testmem

ff
dos=high,umb
device=himem.sys /testmem

ff
dos=high,umb
device=himem.sys /testmem

ff
dos=high,umb
device=himem.sys /testmem

ff
dos=high,umb
device=himem.sys /testmem

ff
dos=high,umb
files=10
buffers=10
stacks=9,256
lastdrive=z
autoexec.bat
@ECHO OFF
REM JETSUN,2004/0/28
set prompt=$p$g
IF "%config%"=="CLEAN" GOTO CLEAN
IF "%config%"=="CD" GOTO CD
IF "%config%"=="NOCD" GOTO NOCD
IF "%config%"=="USB" GOTO USB
IF "%config%"=="NTFSDOS" GOTO NTFSDOS
IF "%config%"=="USBCD" GOTO USBCD
IF "%config%"=="USBHD" GOTO USBHD
IF "%config%"=="1394CD" GOTO 1394CD
IF "%config%"=="1394HD" GOTO 1394HD
goto quit
:CD
\toddy615\TODDY.COM
\MOUSE
CD CDROM
CALL RUN.BAT
CD \
GOTO QUIT
:NOCD
\toddy615\TODDY.COM
\MOUSE
GOTO QUIT
:USB
\MOUSE
\toddy615\TODDY.COM
CD \USB\DRDOSUSB
CALL USB.BAT
GOTO QUIT
:NTFSDOS
\MOUSE
\toddy615\TODDY.COM
CD \NTFSDOS
NTFSDOS.EXE
GOTO QUIT
:USBCD
\MOUSE
\toddy615\TODDY.COM
CD \USB
CALL USBCD.BAT
GOTO QUIT
:USBHD
\MOUSE
\toddy615\TODDY.COM
CD \USB
CALL USBHD.BAT
GOTO QUIT
:1394CD
\MOUSE
\toddy615\TODDY.COM
CD \USB
CALL 1394CD.BAT
GOTO QUIT
:1394HD
\MOUSE
\toddy615\TODDY.COM
CD \USB
CALL 1394HD.BAT
GOTO QUIT
:CLEAN
REM ¿DOS»·¾³, ÓóÃBIOS
echo Clean Bootable DISK
if not exist EMMQXXX0 goto _noems
echo CLEAN: Expanded memory manager (EMS) is loaded!
goto _noclean
:_noems
if not exist XMSXXXX0 goto _noxms
echo CLEAN: Extended memory manager (XMS) is loaded!
goto _noclean
:_noxms
echo CLEAN: Your system looks clean, no memory manager loaded...
if not exist autorun.bat goto QUIT
echo CLEAN: Running autorun.bat
goto QUIT
:_noclean
echo CLEAN: Your system is *not* clean booted!
GOTO QUIT
:
:QUIT