You can try the example I made below:
config.sys file:
MENUITEM=CD-ROM,Start computer with CD-ROM support ...
MENUITEM=CDROM_SCSI,Start computer with CD-ROM and SCSI support ...
MENUDEFAULT=CD-ROM,30 ;set the menu's default option and wait time
DEVICE=Himem.sys /testmem

ff
DEVICE=Umbpci.sys
DOS=high,umb,auto
DEVICEHIGH=Vide-cdd.sys /D:mscd001
DEVICEHIGH=Ramdrive.sys /E 5120
SHELL=COMMAND.COM /f /p
DEVICE=Himem.sys /testmem

ff
DOS=high,umb,auto
DEVICEHIGH=Vide-cdd.sys /D:mscd001
DEVICEHIGH=Ramdrive.sys /E 5120
SHELL=COMMAND.COM /f /p
SET PATH=c:\;c:\dos;c:\windows;c:\windows\command;c:\windows.000;C:\windows.000\command;C:\winnt\system32
SET DIRCMD=/OGN /4
SET PROMPT=$P$G
FILESHIGH=30
BUFFERSHIGH=10
STACKSHIGH=9,256
LASTDRIVEHIGH=z
autoexec.bat file:
@ECHO OFF
GOTO %CONFIG%
:CD-ROM
........ ;the contents you want to load
GOTO END
:CDROM_SCSI
........ ;the contents you want to load
:END
The others are some menu configuration commands, such as SUBMENU and MENUCOLOR, used to set submenus and the text color and background color of the menu.