I suspect you may be consuming the environment space in your BAT file that calls KiX. Try eliminating the SET statements and hard code.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.