Agreed. I think the wrapper should be named lyx.exe and should internally call the real lyx named lyxc.exe. The wrapper should examine the command line for options of the form /VAR=val in order to set environment variables as appropriate and should pass everything else onto lyxc.exe.
I agree with something like lyx.exe /var=val /var1=val1 file1.lyx file2.lyx and inernally set environment var=val var1=val1 cmd /c lyxc.exe file1.lyx file2.lyx It is kind of troublesome to change autotools/scons for lyxc. I think we can simply implement all these in hidecmd.c and let the installer arrange the names. Bo