delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <011d01c10edd$29dd6120$6464648a@ca.boeing.com> |
From: | "Michael A. Chase" <mchase AT ix DOT netcom DOT com> |
To: | "Francis Meyvis" <francis DOT meyvis AT sonycom DOT com>, <cygwin AT cygwin DOT com> |
References: | <001f01c10ebc$1cef2640$1630220a AT sonytel DOT be> |
Subject: | Re: PATH troubles |
Date: | Tue, 17 Jul 2001 09:25:28 -0700 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Look one element earlier in the output from echo %PATH%. Colon (:) is the separator between elements of $PATH, so you added two directories to $PATH: 'c' and '/temp'. The '//drive' notation is severely deprecated and scheduled to disappear next release. Either mount c:/ to /c (or something similar) or use /cygdrive/c. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. ----- Original Message ----- From: "Francis Meyvis" <francis DOT meyvis AT sonycom DOT com> To: <cygwin AT cygwin DOT com> Sent: Tuesday, July 17, 2001 05:29 Subject: PATH troubles > I've a strange problem with PATH variable on w2k and nt4. > I installed cygwin in c:\cygwin. > > I've the following shell script tst.sh (it calls a dos bat shell script from > within bash): > c:\temp\tst.bat > > The dos batch script just contains: > @echo %PATH% > > When I invoke the following from within bash shell > export PATH=$PATH:c:/temp > echo $PATH > ./tst.sh > > I get as a result > /usr/local/bin:/usr/bin:/cygdrive/c/Python21/:/usr/bin ... :c:/temp > c:\cygwin\usr\local\bin;c:\cygwin\bin .... :c:\cygwin\temp > > The first line is from the echo $PATH (notice that I agree on the c:/temp at > the end) > The second is from the bat file. > > Why is there a "cygwin" inserted between the drive letter and temp > directory. > I do not have this problem when I use //c/temp instead of c:/temp when > modifying the $PATH variable > > Note that c:\cygwin is mounted as / in textmode. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |