-->C:\"Program Files (x86)"\LilyPond\usr\bin\python.exe<-- This looks like the quotes are in the wrong place.
--- Knute Snortum (via Gmail) On Sat, Dec 21, 2019 at 4:32 AM Peter Gentry <peter.gen...@sunscales.myzen.co.uk> wrote: > > I spoke too soon. > > > > C:\WINDOWS\system32>convert-ly > > > > C:\WINDOWS\system32>C:\"Program Files (x86)"\LilyPond\usr\bin\python.exe > C:\"Program Files (x86)"\LilyPond\usr\bin\convert-ly.py > > C:\Program Files (x86)\LilyPond\usr\bin\python.exe: can't open file > 'C:"Program': [Errno 22] Invalid argument > > > > C:\WINDOWS\system32> > > > > This did work first time but now another wonderful windows surprise. > > > > > > > > > > > > > > > > > > From: Peter Gentry <peter.gen...@sunscales.myzen.co.uk> > Sent: 21 December 2019 12:02 > To: Lilypond Users (lilypond-user@gnu.org) <lilypond-user@gnu.org> > Cc: 'ksnor...@gmail.com' <ksnor...@gmail.com> > Subject: convert-ly problems > > > > Thanks Knute > > > > However the problem for windows (as usual) is more difficult. In addition to > the PATH I needed the following to set up the association. > > First get check the associated name of the python file type. > > In an admin command prompt run the following > > assoc {Python} result “no association……” > > I created one > > Python="C:\Program Files (x86)\LilyPond\usr\bin\python.exe" "%1" > > Now I look in Default Apps and there is PYTHON > > SUCCESS! > > Now convert-ly.py works > > > > I could have use something Lily specific as the association PYTHONLILY say > maybe I will later. > > > > I expect I will have to do something similar if I go back to PYTHON proper. > > > > Isn’t Windows wonderful ???? > > > > Regards Peter > >