[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Windows Scripts
From: |
Fodor Bertalan |
Subject: |
RE: Windows Scripts |
Date: |
Fri, 19 Sep 2003 10:42:04 +0200 |
I have one good and one bad news:
Good:
c:\cygwin\bin\bash.exe --login -c '/usr/bin/lily-wins "%1"'
works as a correct association. The key is to put %1 in quotation marks.
I don't know how to set these in post-lily.sh (I don't know python.) \" or
"" or something ?
Bad:
For file names containing spaces we must make one modification is
lily-wins.sh, because
"C:\Documents and Settings\Berti\song.ly" is can be a common setting for
default-addicted users:
system ('/usr/bin/ly2dvi -p "%(file)s" > %(stem)s.log 2>&1' % vars ())
I put the filename between quotation marks.
But Ly2dvi doesn't like file names with spaces:
ly2dvi: error: filename should not contain spaces: `/cygdrive/c/Documents
and Settings/Berti/song'
Bert
- Re: Windows Scripts, Jan Nieuwenhuizen, 2003/09/19
- RE: Windows Scripts, Jan Nieuwenhuizen, 2003/09/19
- RE: Windows Scripts,
Fodor Bertalan <=
- Re: Windows Scripts, Chris Jackson, 2003/09/19
- Re: Windows Scripts, Mats Bengtsson, 2003/09/19
- Re: Windows Scripts, Han-Wen Nienhuys, 2003/09/19
- Re: Windows Scripts, Jan Nieuwenhuizen, 2003/09/19
- RE: Windows Scripts - spaces, Fodor Bertalan, 2003/09/19
- RE: Windows Scripts - spaces, Han-Wen Nienhuys, 2003/09/19
- RE: Windows Scripts - spaces, Han-Wen Nienhuys, 2003/09/19
- Re: Windows Scripts, Chris Jackson, 2003/09/19
- Re: Windows Scripts, Jan Nieuwenhuizen, 2003/09/19
Re: Windows Scripts, Jan Nieuwenhuizen, 2003/09/19