X-Recipient: archive-cygwin@delorie.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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=sCqtNR/vvsrba1ig
	41ZPzdjf7sGvOtTSYArwESQOHDqiHafFrwHYE5Dx03BCQBlK6r4GIKG/gjSnQGol
	jUZGq/8y0SuEM6AAN9hUp+sOrDamz67XQtySbleJlePcJjVga72scBChvRDNiVXi
	fPma/tG/gRO7KOltAYw6nOl9ptY=
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:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=x8YqGKKEU7pXrnfipF99tO
	KLwu4=; b=iteTFyb+8ScQpRmUrLhebSlsbDnCnoEhwOo4YaRFc/hKDy767963T/
	c5Sb7JwwNedIK8KDDbc/vM/SQQdE3r926JvRL3UhMtkJfu3KYijEpmr0znd36dEj
	MTIYreEhnILFrfLvT/QSGb/Mh9LUJfyUAbe0/qT4GzHtmZw/dMf7A=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=2.8 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: vms173019pub.verizon.net
X-CMAE-Score: 0
X-CMAE-Analysis: v=2.1 cv=Jp0M15MC c=1 sm=1 tr=0	a=Z9UJdt/jcW91Hd6r4aN9qw==:117 a=w_pzkKWiAAAA:8 a=oR5dmqMzAAAA:8	a=4g2epv4a4k0A:10 a=-9mUelKeXuEA:10 a=N659UExz7-8A:10 a=XAFQembCKUMA:10	a=nvfHO-738TTsfNzyl0oA:9 a=pILNOxqGKmIA:10
Message-id: <559349CA.80601@cygwin.com>
Date: Tue, 30 Jun 2015 22:00:42 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: path dependent on drive in cygwin
References: <d27ec3eeb72a8a214154779bba6f2c38@imap.force9.net>
In-reply-to: <d27ec3eeb72a8a214154779bba6f2c38@imap.force9.net>
Content-type: text/plain; charset=windows-1252; format=flowed
Content-transfer-encoding: 7bit

On 06/30/2015 02:27 PM, John Norris wrote:
> Hi,
> I am running cygwin 1.7.x on Windows 2008. I realise this may be out of date
> 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.
>
> 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.

I think we need to see your path in Windows and your cygcheck output.
Start cmd.exe and send the results of "PATH".


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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

