This is what worked for me in the bat file.

@echo off

if "%os% == "Windows_NT" goto NT
goto win9x

:Win9x
%0\..\Kix32 %0\..\scriptname
goto end

:NT
kix32 scriptname
goto end
:end

[ 14. March 2003, 15:51: Message edited by: rdavison ]