Helge Hafting <[EMAIL PROTECTED]> writes:
> 
> Angus Leeming wrote:
> 

[snip]
 
> >In that case, shouldn't it be
> >
> >lyx.exe "%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9"
> >
> >  
> >
> No, that will turn
> lyx.bat "file with spaces.lyx"
> into
> lyx.exe ""file with spaces.lyx"" and that won't work too well.
> 

To avoid double quoting the ~ character should be used. So:

lyx.exe "%~1" "%~2" "%~3" "%~4" "%~5" "%~6" "%~7" "%~8" "%~9"

works as expected.

Enrico


Reply via email to