Ok! I tried and it works very well! Another solution is to add the extension ".ly" to the file name and then the command runs. I don't understand why it is not the way described in Lilypond manuals. Anyway, thank you so much for your help!
Il giorno lun 5 set 2022 alle ore 19:06 Knute Snortum <ksnor...@gmail.com> ha scritto: > Well, I had the same experience as you. One solution is to type: > > python3 "C:Program Files (x86)\LilyPond\usr\bin\lilypond-book" > > You could put that in a batch file somewhere in your PATH. There may > be other solutions too. > > -- > Knute Snortum > > > On Sun, Sep 4, 2022 at 10:26 PM Rip _Mus <ripetizioni.mus...@gmail.com> > wrote: > > > > Good morning, > > thanks for the reply! You're right, I could have added a few more > details. > > The operating system is Windows 10. For using Lilypond on command line, > I followed the instructions on the site. > > I added the folder "C:Program Files (x86)\LilyPond\usr\bin" to the > environmental variable “Path”. > > I think I followed them well, as the "ilypond" command works. The > other commands "lilypond-book" and "convert-ly" instead give me the > following message: > > > > 'lilypond-book' is not recognized as an internal or external command > > > > What I notice is that in the folder in question there are lilypond-book > and convert-ly scripts, but they are without extension (for example * .py) > > > > What do you think about? > > > > > > Il lun 5 set 2022, 02:13 Knute Snortum <ksnor...@gmail.com> ha scritto: > >> > >> On Sun, Sep 4, 2022 at 9:06 AM Rip _Mus <ripetizioni.mus...@gmail.com> > wrote: > >> > > >> > Good morning, > >> > I have installed the version 2.22.1, wich I used for a lot of big > project. > >> > A lot of times I tried to open terminal and run "lilypond-book" but > without success. I already add the folder "...\usr\bin" to the > environmental variabile path, in fact the command "lilypond" runs. > >> > Someone could help me? > >> > >> It would be helpful to know exactly what is going wrong. Do you get > >> error messages? Post them. Not doing what you think it should? Tell > >> us what it's doing and what you think it should be doing. Also, tell > >> us the OS, is it linux? > >> > >> -- > >> Knute Snortum >