This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Perl script vs. "Program Files"

Hi everyone!

I'm using cvsnt via cygwin command line. When I'm trying to reformat log output with (, I get the following error message:

Can't open perl script "/cygdrive/c/Program": No such file or directory

Apparently the script is looked for in "/cygdrive/c/Program Files/cvsnt/", which is fine for me, because that's where it resides. However, when I delete the script, I get the following output:

bash: /cygdrive/c/Program Files/cvsnt/ No such file or directory

Suddenly the path is resolved alright! I guess the first message is generated by Perl and the second one by bash. When I put the script in a no-space-path and type the whole thing, like


it works fine. Using a path-with-spaces probably requires some weird combination of single/double quotes. Since I'm bashwise quite illiterate and have never used Perl before, any help is greatly appreciated.

Note that putting the script in another location (like /cygdrive/c or cygwin/usr/bin or such) does not help. It is always looked for in /cygdrive/c/Program Files/cvsnt and nowhere else. Why?


Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen:

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]