Helge Hafting wrote:
You may have to have one script for XP and another for win98,
unless lyx can deal with quoted filenames itself.
I don't know what other windows versions use, but I guess that
2000, 2003 and NT works like XP, with 95 and ME working like 98.
But that's just a guess.

Or you could try some magic with if statements to detect what it is up.

if "%~1"=="1" goto win95

echo winnt, win2000, winXP
goto end

:win95
echo win95, win98, win me

:end

This will detect which which windows version we are for all parameters, except if passed the literal 1, which is unlikely to be used anyway.

Regards,
Asger

Reply via email to