Jochen's suggestion will work just fine in a kix script and the suggestion Les posted work fine from a batch script. It's up to you to choose the one you like and that fits best in you setup.

My personal favourite (besides dumping the batch file) would be to build it into the kix script being started by the batch script.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.