You can pass a variable by setting a global variable (such as in the autoexec.bat when you type SET PATH=...). Also, if you are having your program call kixtart itself, you can pass variables like:

KIX32 script.kix $a=info1 $b=info2

If the values are numeric or can be referenced by assigning unique numbers, you can set the errorlevel on exit and kix can read that.

At the current time you can't pipe to kix, although this has been a request for Ruud in the suggestion box.

I suppose if you were really resourceful, you could create a ramdrive and save a file there and read from it in kix before destroying the ram drive.

.... Just a few thoughts.

Brian