chcp 437
rd /q/s  view
lilypond --pdf --png %1.ly
mkdir view
move *.pdf view/
move %1-page1.png view/
move *.mid view/
copy %1-page1.png view/
lilypond --eps %1.ly
latex %1-sheet.latex
dvips -t letterpaper -P pdf %1-sheet.dvi
ps2pdf %1-sheet.ps
move %1-sheet.pdf view/
cd view
%1-sheet.pdf | %1.mid
cd ..\
erase *.aux *.log *.dvi *.ps *.eps *.png
dir /oe


