lilypond-devel
[Top][All Lists]
Advanced

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

Re: Windows shell script ...


From: Chris Jackson
Subject: Re: Windows shell script ...
Date: Fri, 8 Aug 2003 15:56:21 +0100

Jeremy wrote:
>> Is the smouldering hot weather, crushing heat, and suffocating
>> humidity, or has my brain turned to mush. It works, but it still has
>> one flaw: it won't work with paths that contain spaces. *UGGH* In
>> between two fainting fits, I've not been able to figure out a way
>> to deal with this. The rest of it works. As it says, you just need to
>> right click your Lilypond source file wherever in Windows, to
>> generate a PDF in the same directory. I'm not sure if you want
>> Acrobat to automatically open, but that's easily possible -- I
>> didn't think it very useful though ('start' command).

Just tried it out - looks nice, and it *almost* works for me...
I'm having problems with this line of the script.

copy C:\cygwin\tmp\*.pdf %1.pdf

With this command, my PDF file is mangled in the process of copying:  only
the first few lines are copied over.  However (say, the PDF file is called
test.pdf, and the destination directory is P:\lily) these commands both
work - the complete PDF file is copied over.

copy C:\cygwin\tmp\test.pdf %1.pdf
copy C:\cygwin\tmp\*.pdf P:\lily

Anyone with more experience of DOS shell gotchas understand why?

-- 
chris





reply via email to

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