On Tue, Jun 14, 2005 at 10:08:09PM +0100, Angus Leeming wrote: > On Tuesday 14 June 2005 21:34, Andre Poenitz wrote: > > On Tue, Jun 14, 2005 at 01:14:05PM +0200, Helge Hafting wrote: > > > if "%LANG%"=="" SET LANG=no_NO > > > lyx.exe %* > > > [...] > > > Second line starts the lyx executable and passes any parameters > > > to it. The script is tested on windows XP. (I don't have lyx for > > > windows, but the LANG test and parameter passing works fine.) > > > > I don't think it works on older Windows versions. I've seen > > %1 %2 %3 %4 %5 %6 %7 %8 %9 in this place often enough to assume > > that it can't be a mere oversight of lazy programmers... > > In that case, shouldn't it be > > lyx.exe "%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9"
I don't really know. I've read the quoting rules for cmd.exe and the only thing that I remember is that there is a possibility to 'overquote'... Andre'