Michael Wojcik wrote


Create a file named "loadlyx.cmd" in the lyx/bin directory or somewhere else appropriate (eg in a "tools" directory on your path), containing:


  @path c:\programs\lyx\bin;%path%
  for /f "usebackq" %%a in (`echo %1 ^| tr \\ /`) do lyx %%a


better:

        for /f "usebackq" %%a in (`echo %1 ^| tr \\ /`) do lyx.exe %%a

as you get in trouble if the lyx.cmd calls itself.


Ekkehart Schlicht

Reply via email to