Comment #3 on issue 2763 by [email protected]: Error with
-dseparate-log-files on Windows
http://code.google.com/p/lilypond/issues/detail?id=2763
Both James and Ian Hulin offered simplifications of the workaround:
http://lists.gnu.org/archive/html/bug-lilypond/2012-08/msg00115.html
http://lists.gnu.org/archive/html/bug-lilypond/2012-08/msg00118.html
In brief:
Use Windows-R to bring up the "Run" dialog.
Enter "cmd /s/k" to bring up the Windows shell.
FOR %x IN (*.ly) DO "c:\Program Files
(x86)\LilyPond-2.15.40\usr\bin\lilypond.exe" %x 1>%~nx.out 2>%~nx.log
Assuming you had a.ly and b.ly in the working directory the above will
produce a.log, a.out, b.log and b.out.
Cheers,
Colin.