I'll show you my 2 files on my bootdisk then explain my problem :
Config.sys :
[menu]
menuitem=CD, DOS Tools with CD-Rom support
menuitem=NOCD, DOS Tools without CD-Rom support
menuitem=GHOSTCD, Load Ghost with CD-Rom support
menuitem=GHOSTNOCD, Load Ghost without CD-Rom support
menudefault=CD,30
menucolor=7,0
[CD]
device=himem.sys /testmem😱ff
device=oakcdrom.sys /D:idecd001
*command here to tell autoexec.bat not to load Ghost*
[NOCD]
device=himem.sys /testmem😱ff
*command here to tell autoexec.bat not to load Ghost*
[GHOSTCD]
device=himem.sys /testmem😱ff
device=oakcdrom.sys /D:idecd001
*command here to tell autoexec.bat to load Ghost*
[GHOSTNOCD]
device=himem.sys /testmem😱ff
*command here to tell autoexec.bat to load Ghost*
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=ramdrive.sys /E 2048
lastdrive=z
Autoexec.bat :
@ECHO OFF
MSCDEX.EXE /D:IDECD001 /L:Z
*Section 1*
*If Only DOS tools are loaded*
CLS
*Section 2*
*If GHOST IS Loaded*
A:
Ghost.exe
So the problem is : I want in Autoexec.bat to have 2 sections in autoexec.bat in for when only DOS tools are loaded and another one when GHOST is loaded...
Is this possible to choose wich section to load in autoexec, when making a choice in the menu of config.sys???
Config.sys :
[menu]
menuitem=CD, DOS Tools with CD-Rom support
menuitem=NOCD, DOS Tools without CD-Rom support
menuitem=GHOSTCD, Load Ghost with CD-Rom support
menuitem=GHOSTNOCD, Load Ghost without CD-Rom support
menudefault=CD,30
menucolor=7,0
[CD]
device=himem.sys /testmem😱ff
device=oakcdrom.sys /D:idecd001
*command here to tell autoexec.bat not to load Ghost*
[NOCD]
device=himem.sys /testmem😱ff
*command here to tell autoexec.bat not to load Ghost*
[GHOSTCD]
device=himem.sys /testmem😱ff
device=oakcdrom.sys /D:idecd001
*command here to tell autoexec.bat to load Ghost*
[GHOSTNOCD]
device=himem.sys /testmem😱ff
*command here to tell autoexec.bat to load Ghost*
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=ramdrive.sys /E 2048
lastdrive=z
Autoexec.bat :
@ECHO OFF
MSCDEX.EXE /D:IDECD001 /L:Z
*Section 1*
*If Only DOS tools are loaded*
CLS
*Section 2*
*If GHOST IS Loaded*
A:
Ghost.exe
So the problem is : I want in Autoexec.bat to have 2 sections in autoexec.bat in for when only DOS tools are loaded and another one when GHOST is loaded...
Is this possible to choose wich section to load in autoexec, when making a choice in the menu of config.sys???