On Sat, 25 Nov 2006, Abdelrazak Younes wrote:

> No, replacing with double quotes does not work either. But at least LyX is
> started and no Buffer is opened.
> 
> I've tried that instead but LyX crashes :-/
> 
> lyx-qt4.exe UserGuide.lyx -x "command-sequence buffer-begin ; repeat 100
> screen-down ; lyx-quit"

I think command.com has no idea about quoting arguments. Instead it is 
probably up to the program to notice that an argument starts with a '"' 
and then combine subsequent arguments... *sigh*. At least this is my 
experience from a long time ago with .bat-files and some program on 
Windows (possibly 98).

But.... OTOH, commands like "dir" apparently works with arguments that 
have been quoted.

Anyway, maybe a wrapper program for starting LyX could be a solution on 
Windows? (I.e., the program would parse the arguments and send them in a 
proper way to the LyX executable).

cheers
/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to