My comments related to my thought that this was your entire KiXtart script. But wrapping it in a batch file may change the behavior.
_________________________
Home page: http://www.kixhelp.com/hb/