lilypond-user
[Top][All Lists]
Advanced

[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)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]