[EMAIL PROTECTED] wrote:

I've been messing around with a PATH like this:
PATH=....;\\machine\share

I then place bash scripts in \\machine\share\ts1.sh and in c:\ts2.sh

ts1.sh & ts2.sh look like this:
#!/bin/sh
echo "hello world"

Finally I created a file association for the extension .sh so that it
will use c:\cygwin\bin\bash.exe.

I then try to run ts1.sh & ts2.sh the following ways from a cmd.exe
window:
1% ts1.sh
\machine\share\ts1.sh: \machine\share\ts1.sh: No such file or directory

2% \\machine\share\ts1.sh
\machine\share\ts1.sh: \machine\share\ts1.sh: No such file or directory

3% c:\cygwin\bin\bash.exe \\machine\share\ts1.sh
hello world

4% c:\ts2.sh
hello world

Can anyone shed some light on why 1 & 2 won't work with cygwin's
bash.exe and/or sh.exe?

Note I can get 1 & 2 to work using MKS Software's nutcracker suite.

s/\\/\//g -- Why did kamikaze pilots wear helmets?


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Reply via email to