delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.4 required=5.0 tests=AWL,BAYES_20,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
From: | Adam Dinwoodie <Adam DOT Dinwoodie AT metaswitch DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | RE: some kind of path problem when running bash script from windows shortcut |
Date: | Thu, 22 Mar 2012 17:35:33 +0000 |
Deferred-Delivery: | Thu, 22 Mar 2012 17:35:00 +0000 |
Message-ID: | <CE9C056E12502146A72FD81290379E9A2C52D87D@ENFIRHMBX1.datcon.co.uk> |
References: | <4F6B5FAD DOT 5090303 AT molconn DOT com> |
In-Reply-To: | <4F6B5FAD.5090303@molconn.com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q2MHbtZT016139 |
LMH wrote: > When I run it from the shortcut, I get "file not found" for rsync, date, > unix2dos, and rm. I have temporarily changed the script to use the full > path for these, /cygdrive/c/cygwin/bin/date.exe instead of date, but I > have used this setup for a while and I'm not sure what has changed. Am > I missing an environment variable or something? Yes. Make sure your Windows PATH environment variable includes C:\cygwin\bin, or whatever the equivalent is for your install. Also, per the FAQ, please remember to include the output from running `cygcheck -s -v -r`. That'll let us actually check your environment variables, for example. Adam -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |