delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
From: | Andrew DeFaria <Andrew AT DeFaria DOT com> |
Subject: | Re: UNC within the PATH |
Date: | Fri, 11 Mar 2005 00:17:52 -0800 |
Lines: | 36 |
Message-ID: | <d0rk6h$bhl$1@sea.gmane.org> |
References: | <20050311073951 DOT GA5477 AT skinner DOT bubba DOT net> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | defaria.com |
User-Agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
In-Reply-To: | <20050311073951.GA5477@skinner.bubba.net> |
X-Gmane-MailScanner: | Found to be clean |
X-Gmane-MailScanner: | Found to be clean |
X-MailScanner-From: | goc-cygwin AT m DOT gmane DOT org |
X-MailScanner-To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
junk AT jake8us DOT org 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |