Sounds like your debugging your batch file and not the Kix script.

Can you post your batch file?
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields