@David : Yeah, I'm sorry, I meant ".py". Anyway, a very good analysis of
the situation!

@Knute Snortum <ksnor...@gmail.com> : Thank you for your suggestions! I'm
thinking about reporting this issue.

Il giorno mar 6 set 2022 alle ore 19:25 Knute Snortum <ksnor...@gmail.com>
ha scritto:

> On Tue, Sep 6, 2022 at 8:09 AM David Wright <lily...@lionunicorn.co.uk>
> wrote:
> >
> > On Tue 06 Sep 2022 at 11:19:28 (+0200), Rip _Mus wrote:
> > > Il giorno lun 5 set 2022 alle ore 19:06 Knute Snortum ha scritto:
> > > > On Sun, Sep 4, 2022 at 10:26 PM Rip _Mus wrote:
> > > > >> On Sun, Sep 4, 2022 at 9:06 AM Rip _Mus wrote:
> >
> > > > >> > 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?
> >
> > > > > 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?
> >
> > > > 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.
> >
> > > 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.
> >
> > More likely you added .py ?
>
> Just adding ".py" to lilypond-book didn't work for me.  At the command
> line I got a message that "lilypond-book" was not an executable.  From
> the Windows file folder a command screen popped up for a split second,
> then vanished.
>
> But here's another way to do this: create a file called
> lilypond-book.bat somewhere in your PATH, then paste this into it:
>
>     @python3 "C:\Program Files
> (x86)\LilyPond-2.22.2\usr\bin\lilypond-book" %*
>
> You should be able to type "lilypond.book" anywhere you cd to.
>
> --
> Knute Snortum
>

Reply via email to