This is the mail archive of the 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]

Re: cygwin and the rest of the Windows

okay, a summary of what I am doing:
case 1:
c:\cygwin\bin\perl.bat reads:

@echo off
c:\cygwin\bin\bash --login -c "/usr/bin/perl %1 %2 %3
%4 %5 %6 %7 %8 %9"

associating the .pl file with
c:\cygwin\bin\perl.bat %1

and the perl file begins with:

one command line, I ran:
c:\program files\apache
and get the error:
Files\Apache: line 1: C:Program: command not found
OKAY, this looks like caused by the different b/t
winFS and POSIX....since Igor said he was successful
in this mode, can you point out what's the problem?

case 2:
associating .pl file with
c:\cygwin\bin\bash -c %1
and the file begins with
I get the same error as case 1...

case 3:
the only way I can now run the .pl file from command
line is:
c:\path with space\\cygwin\bin\bash -c

but what I really want is:
to run .pl file like normal in windows command prompt:
i.e. c:\path with space\
WITHOUT using a native windows perl interpretor (like
if this is not possible, at least I should be able to
run it as a cgi-script...

thanx for all your help so far igor...I am just a
little slow on this right now...

--Matthew Ling F. Zhang

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Unsubscribe info:
Problem reports:

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