delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=n/AZfvvexo4HY4nC/zHKNoQzo+QtIbosgVjlx1kyIpufrz/jTKd/s | |
EaZ9nd+T7uJpr/OZ1BpNcSq3DjIita4jm/1CNDjY87qPU4qG1ixqphuAIEqCRb7U | |
2GfNMDqZD+YeL9/USIk4L9QZr73usfsWt/lKJiR9Zyv1GnflR7Aygk= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=iUDvs3j8YzSiUTWoL21ZRi3nRs8=; b=qM7m7RxsBDsGmkv2uWnnyBKfudmL | |
Rfp44zpyJrZM01TPSNC9aWDnHpnR/7tnYS9cE907MVoIgk/97gKOSjVABtvBXnaF | |
yqdGVOeUi2OPF7URppeIPm/Kd5Zi6ZRrINCnsbgFzXTVLiznTcvInmu8dAgSVreo | |
dkbL3TqSs02eKv0= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Wed, 1 Jul 2015 14:15:15 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: path dependent on drive in cygwin |
Message-ID: | <20150701121515.GJ2918@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <d27ec3eeb72a8a214154779bba6f2c38 AT imap DOT force9 DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <d27ec3eeb72a8a214154779bba6f2c38@imap.force9.net> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--LYw3s/afESlflPpp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 30 18:27, John Norris wrote: > Hi, > I am running cygwin 1.7.x on Windows 2008. I realise this may be out of d= ate > but this is what we are using. > I have noticed that the path variable for our build user is dependent on > where "cmd /C" is run from. > Please see below - I have cut back the PATH so that it does not overwhelm. > Notice the extra C; before the non cygwin entries. And when run from e > drive, the C; remains but the c: becomes e:. And this is the problem - the > path when run from c is messy but works. The path when run from e (which = is > where we do run from) does not work. >=20 > Can anyone explain this. I guess one way round this is to explicitly call > the necessary programs without relying on PATH. But interested why this > happens. >=20 > Regards, > John >=20 >=20 > $ /c/windows/system32/cmd > Microsoft Windows [Version 6.1.7600] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. >=20 > C:\>notepad > notepad >=20 What is "C"? > C:\>path > path > PATH=3DC:\Cygwin\usr\local\bin;C:\Cygwin\bin;C;C:\Program Files ^^^ ??? > (x86)\Microsoft Visual Studio 9.0\Common7\IDE;C;C:\Program Files ^^^ ??? > (x86)\Microsoft Visual Studio 9.0\Common7\Tools;C; ^^^ ??? Without having tested it, these erroneous entries probably confuse Cygwin's Win32->POSIX path conversion. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --LYw3s/afESlflPpp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVk9nTAAoJEPU2Bp2uRE+gd1IP/1IiYgIWOn46Vab5O83gcFRi RmQ3HftCnFc3QQ1O4YjjOzrVkAy8fMFVlqiR9+nIJBIx6fCsdk0QmmtpIGShLyM1 Y7HSTtbRxmmmYmEcMOon13yZSJSl5iwNt+CGvAoZPJHGrn37EgedrGJPH0fHlKyV 9GmIm61vCICgoWDewSIFKJieyRy53JhH/5Wm+x/9RTOtxDmvB37pY0XbTt4a2WzE OOPeq4QSTQJewIDUmX7J1tQ7atWH5IqrR5U9+PbsRtjb5k01zM+fylH3kqOkWFjp hAKsHMsJcCXjBLdlK7Rxrebfhmq94NUMckyjeRSrUGEGTDFfWxSk0Lx3i119t8qY VItHqUPyThzkRYNG0UMQWtG1exFe+3h2lA/x2nb7rk1kTGAyR+HboysEUbds0jb3 IRgiK5oFhbX1ddvPkndV88pNSjtCXM2D79eqkgoCC2IMMgfF0wlS9fdzOkUNq854 mqbhb08TeucBBPLARplhBGNOCDyDnqI+a1jCKrzKo4hevxe8SAfGUeB/Rxdlgumb k0u14eVuDcD5EOcAHe/FZNoXa7qrVH3gvl1XcE5tFSwO0S8nyKDwfo1MzI02U9Mq aN1NotqgsxtXjoiK5StTLMGcucOkhk/5WQcUrE3qWKrEb4vDlB1lOEEtqv9/twfv a+RPTtYWGuccT7u2Fa8u =Ni19 -----END PGP SIGNATURE----- --LYw3s/afESlflPpp--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |