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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; q=dns; s=default; b=nY
	1dov+IJI9/oGKHl2h7ya1Xy3KS3UmZaKc+Mf0Dbrh48zMee2bV1NE+lcSK42VLhu
	qBgaQwrhce+6CG3+Vr4R1yVP0ZHWhzh6rXSkQta131RmslKyV6lkEias7Byol6Cy
	BX0xXlmWdiZpDiSS6wHtjoJes5E7LhCgkZzK/WKsY=
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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:content-type; s=default; bh=VX0apMDp
	kutxynQwZy9SnzXSBZw=; b=GXzMQA2qjahm4StwW2dqCYpXiw5E0ob1AAYeAe7p
	MdNVOIxMLLmwzGuuk4z5GvK7zZZVycNaNEjatfvwbnIcWKUqJpKLlMMZ3ZihJVFn
	+dJmflyjdJwKO+IxZQzcXSjcDzCf8n7X2oKeLg/+Cc/YVDMsPxxJjdtw0Z8z5IOX
	u1M=
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.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:B9C7090, H*i:sk:B9C7090, faithfully, Hx-languages-length:1008
X-HELO: mail-yk0-f170.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:date         :message-id:subject:from:to:content-type;        bh=83q74Dpa5j4YdkMc2z7DnrZEO3RsTUl81uLPZmcmbDs=;        b=a5siz53flPeibPn6YJ+nJF8dPeGXSLYx1pIuVMFkihS0Zr9VRENT5y0P3XkLpl+Iq9         Cnl6KxaZK1e/zWxjPlH9UAy0y5Vk1VdIhquqyJ40oMf6oRD9UI+H4ep4nbNG7Hu9Tc3M         fNBgDDjcv90r4BUW+hiO/pkPs7QyqszyvG4feML8pc6vqeyemX48V50zpsjaXr3SzKKi         09vYxSUc9UvMPNtN5Ysr+CkOmQCUVFI7vTUYwF2ji98NGYgEg+5AnlxoHkuzhrShCHqv         JytJnAkNJVOOeIOkIOggIRiKYFSVUmjDfgGyiTGmKWEzyKi8lCOPE7HrZtxHIwoQeDb0         eEXQ==
X-Gm-Message-State: ALoCoQnN8cfQLRqSbx3jWCQIoIqoohbkcPB6rIlDKEJYRcN86mYRoWgHLUm8RbVokl93m6+nKzwWvwujHXA0R7Rg0HsA7Iv94Q==
MIME-Version: 1.0
X-Received: by 10.13.194.66 with SMTP id e63mr59287409ywd.135.1451766865104; Sat, 02 Jan 2016 12:34:25 -0800 (PST)
In-Reply-To: <B9C70902-5C7E-4AC6-A63A-583DCEC2771C@mac.com>
References: <B9C70902-5C7E-4AC6-A63A-583DCEC2771C@mac.com>
Date: Sat, 2 Jan 2016 12:34:25 -0800
Message-ID: <CAOC2fq_SM3Ja5-vgf+T9QPGu0FAjrTw6pe_e0b2t4t39szxbNA@mail.gmail.com>
Subject: Re: Question about incorrect System path from cygpath with case-sensitivity enabled
From: Michael Enright <mike@kmcardiff.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On Fri, Jan 1, 2016 at 1:21 PM, Bryan Henry wrote:
>
> [~]$ cygpath -S -u
> /C/WINDOWS/System32
> [~]$ file `cygpath -S -u`
> /C/WINDOWS/System32: cannot open `/C/WINDOWS/System32' (No such file or directory)
> [~]$ file /C/Windows/System32
> /C/Windows/System32: directory
>

Although I haven't enabled case-sensitivity I noticed the following:

In power shell, the value of $env.Path is reported with windows
directories where the windows directory is given all in lower case.
But in the same shell, the name of the Windows directory given by "ls
\" is spelled "Windows". I find that to most likely be the spelling of
the directory entry because "ls" seems to faithfully report directory
names in the case given by whatever created the directory in the first
place, instead of some affectation of "ls" capitalizing things.

In Cygwin,
$ cygpath -S -u
/cygdrive/c/windows/System32

I'm running Win10/64 and 64-bit cygwin.

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

