[syslinux] Supporting WinImage compressed images

Blaauw,Bernd B. B.Blaauw at student.fontys.nl
Fri Mar 26 07:02:06 PST 2004


don't know if it's appreciated by the mailinglist owner to discuss this at the mailinglist.

MDISKCHK has output: x1=y1, x2=y2 and so on.

so what about a command
GETARGS x1

which, if x1 has non-empty value, does SET x1=y1 in dos?
(getargs.* exports the environment. maybe setenv() command?)

@echo off
rem get number of 512 byte units by querying for "len"
getargs.com len
if "%len%"=="" echo Memdisk not loaded because "len" not set.
if "%len%"=="2880" echo 1.44MB image was loaded.
getargs chs
if "%chs%"=="80/2/18" echo 1.44MB image confirmed!


thanks for repointing me to your code.

Bernd




More information about the Syslinux mailing list