Try this:

code:

@Echo Off
If Not Exist %WinDir%\kix32.exe Goto Next
%WinDir%\kix32.exe %0\..\yourscript.kix
Goto End

:Next
%0\..\kix32.exe %0\..\yourscript.kix

:End


This is the must-have batch!