[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?
From: |
Wilbert Berendsen |
Subject: |
Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?) |
Date: |
Mon, 19 Mar 2012 09:30:50 +0100 |
Op Sat, 17 Mar 2012 11:05:59 -0000
"Phil Holmes" <address@hidden> schreef:
> ----- Original Message -----
> From: "Wilbert Berendsen" <address@hidden>
> > But in upcoming Frescobaldi 2.0.5 I have added some additional
> > logic to look for LilyPond in other locations, even if they are not
> > in the PATH. Currently "C:\Program Files\LilyPond\usr\bin" is
> > searched, and I can add more (need to test current git on Windows
> > with newer LilyPond versions yet).
> >
> > --
> > Wilbert Berendsen
> > (http://www.wilbertberendsen.nl)
>
>
> Clearly for windows only, but an alternative is to look in the
> program files directory for the shortcut. c# code that does this is:
>
> string ProgMenu =
> Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles);
> string [] LilyDirs = Directory.GetDirectories(ProgMenu, "*lily*");
Thanks for the hint!
I now look in the ProgramFiles environment variable and search that
path for 'LilyPond*\\usr\\bin' subfolders. This should find normally
installed LilyPonds in Windows.
--
Wilbert Berendsen
(http://www.wilbertberendsen.nl)
- Re: Point-and-click on Frescobaldi?, (continued)
- Re: Point-and-click on Frescobaldi?, Wilbert Berendsen, 2012/03/14
- Re: Point-and-click on Frescobaldi?, Father Gordon Gilbert, 2012/03/14
- Re: Point-and-click on Frescobaldi?, James, 2012/03/15
- Re: Point-and-click on Frescobaldi?, Francisco Vila, 2012/03/15
- Re: Point-and-click on Frescobaldi?, James, 2012/03/15
- Re: Point-and-click on Frescobaldi?, Father Gordon Gilbert, 2012/03/15
- Re: Point-and-click on Frescobaldi?, Carl Sorensen, 2012/03/15
- Re: Point-and-click on Frescobaldi?, Father Gordon Gilbert, 2012/03/15
- LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?), Wilbert Berendsen, 2012/03/16
- Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?), Phil Holmes, 2012/03/17
- Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?),
Wilbert Berendsen <=
- Re: LilyPond in/not in Windows PATH (Re: Point-and-click on Frescobaldi?), Helge Kruse, 2012/03/18