It the variable is passed to the batch file as a parameter the following will set $KIXVARIABLE:
Code:
kix32 myscript.kix $KIXVARIABLE="%1"



If the value is passwd as an environment variable it may be used directly.