this should work, place this in your starting batfile.
code:

%0\..\KIX32 %0\..\logon.KIX $scriptname=logon.kix


and inside the kix script $scriptname will equal the name of the script "logon.kix"

Bryce