[EMAIL PROTECTED] wrote:
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).

Indeed, might be a good time to re-install cygwin.


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).

IIRC, Joost is doing something like that in its windows package.

Abdel.

Reply via email to