Thanks for your posts but managed to create a vbs script that called a kix script and seems to work ok.

cheers