lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re convert-ly on Windows 10 (my steps)


From: Peter Gentry
Subject: re convert-ly on Windows 10 (my steps)
Date: Mon, 23 Dec 2019 12:50:52 -0000

Running convert-ly on Windows10

 

1. add lilypond python to the path

 

i.      Open System Properties or  you may need to open the old control panel

ii.    Click Advanced system settings.

iii.    Click Environment Variables...

iv.   Select PATH in the System variables section

v.    Click Edit

vi.    Add Python's path to the end of the list (the paths are separated by semicolons).   

        ;C:\Program Files (x86)\Lilypond\usr\bin\python.exe

 

2. At a system command admin prompt

 

i.   associate .py files with python

ii.  type  assoc .py=python

 

3. set the python.exe as the filetype for .py files

 

i. type  ftype .py="C:\Program Files (x86)\Lilypond\usr\bin\python.exe" "%1"

 

4. to run convert-ly.py put this (or similar) string in a .bat file

 

i. forfiles /s /p "C:\Users\Peter\Lilypool\Music_Files\Prout" /M **.ly /c "cmd  /c convert-ly.py  -e @file"

ii. this could be improved if the file is edited to ask for input, either a single file or a folder.

 

Regards Peter

 


reply via email to

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