In the bat file you could also set %exe% to run kix32 and your script if you wanted. The new path should go over the newly opened kix32 with no problems.