[syslinux] Supporting WinImage compressed images

G. Murali Krishnan gmkrishn at cs.uchicago.edu
Sat Mar 27 00:45:49 PST 2004


I dont think GETARGS can change the environment of its parent. Linux does
not allow that. I think DOS does not allow that either. So for now you
will have to say

echo off
getargs.com > CONFIG.BAT
CALL CONFIG.BAT
...

The other advantage of this is that all your scripts can CALL CONFIG.BAT
to find all the boot time parameters. For example, my network script looks
at one variable to decide whether (or how) to start network. Mount script
looks at another variable to decide what (or whether) share to mount...

- Murali

> @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
>
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
>
>
>


################################################################
#  Ry 254, Ryerson Hall,   #    Ph : +1 773 702-1031 (Off)     #
#  1100 E 58th Street      #         +1 773 575-4836 (Cell)    #
#  Chicago, IL - 60637,    #   URL : http://www.g-murali.com   #
#  USA.                    #  email: gmkrishn at cs.uchicago.edu  #
################################################################




More information about the Syslinux mailing list