I believe when you run CygWin it maps the directories and all that. I think it actually "mounts" the drives etc. If you try to run '/cygdrive/c/Perl/bin/perl' in the command prompt, I don't think it will work. You should be able to use the Windows path, though: c:\Perl\bin\perl.exe "$CygWin_HOME\temp\Nightly\bit/mailer.pl" (That variable does not really exist. Fill it in.)
On 4/27/07, Nishi <[EMAIL PROTECTED]> wrote:
Hi gurus: I am trying to run perl command via cygwin. I have cygwin mapped drive in which i use the locally installed perl(and not cygwin perl) but apprently, that perl is not able to find an existing file. When the same command is run via cygwin perl, it runs fine. Does perl on windows understand unix style path? Cygwin perl understands unix style path. Is that the issue? what else could be the issue? /cygdrive/c/Perl/bin/perl /temp/Nightly/bit/mailer.pl Can't open perl script "/temp/Nightly/bit/mailer.pl": No such file or directory But the file exists at /cygdrive/c/cygwin/bin/perl /temp/Nightly/bit/mailer.pl
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
