Try @echo off if "%LANG%"=="" SET LANG=de_DE if "%~1" == "~1" goto win95 start "lyx" "C:\Program Files\LyX\bin\lyx.exe" %* goto end :win95 start "lyx" "C:\Program Files\LyX\bin\lyx.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9 :end
There is no way around the goto. Regards, Asger