i've watched in UBCD.BAT and in the AUTOEXEC.BAT from freedos.img but i don't understand how it works:
i've put BCW.COM on my floppy image, and added the dos command you gave me but each call to bcdw return 1
do you have a step by step tutorial about this ?
this is what i've done:
on "myfloppy.IMG"
added the file "BCDW.COM"
added theses lines at the end of AUTOEXEC.BAT:
Code: Select all
rem ---- BCDW ----
if not exist %ramdrv%\bin\bcdw.com goto _bcdw
bcdw CheckForBCDW
rem if errorlevel 1 goto _bcdw
rem bcdw FindBootableCDLetter
rem if errorlevel 1 goto _bcdw
bcdw GetBootImageCommandLine
if errorlevel 1 goto _bcdw
rem if "%cd1%"=="" set cd1=%BCDW_CDROM%:
set ubcdcmd=%BCDW_CL%
:_bcdw
call \dosapps\%ubcdcmd%\startup.bat
in custom.scn
add line
Code: Select all
if ($lastKey == key[f3]); then isolinux memdisk initrd=/images/myfloppy.IMG ubcdcmd=mydosapp
and i created \dosapps\mydosapp\startup.bat:
what happens: myfloppy.img is launch but it seems that the bcdw commands don't work: errorlevel 1 return by bcdw commands