delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/02/16:03:20

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 2 Nov 2009 16:03:03 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [1.7] Undocumented change in accessing by dos drive letters?
Message-ID: <20091102210303.GB17675@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <19183 DOT 9501 DOT 7117 DOT 656831 AT consult DOT pretender> <4AEF316F DOT 2070502 AT cygwin DOT com> <416096c60911021258j27d49894kda1f835b3f487a3b AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <416096c60911021258j27d49894kda1f835b3f487a3b@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Mon, Nov 02, 2009 at 08:58:02PM +0000, Andy Koppe wrote:
>2009/11/2 Larry Hall (Cygwin):
>> On 11/02/2009 01:29 PM, Jeffrey J. Kosowsky wrote:
>>> I didn't see any documentation in the What's New/What's Changed
>>> document saying that the following no longer works:
>>> <cmd> <drive letter>:
>>> For example:
>>> $ ls C:
>>> ls: cannot access C:: No such file or directory
>>>
>>> This had worked fine on earlier versions.
>>> This has broken several of my shell scripts so I am surprised it isn't
>>> either documented (if a desired change) or fixed (if a bug).
>>
>> I agree it's worth documenting.
>>
>>> Am I missing something?
>>>
>>> Note using C:\\ does work.
>>
>> C:/ also works.
>
>C: and C:\ aren't the same thing in DOS/cmd.exe.  C: means the current
>directory of the C drive, whereas C:\ means the root directory of the C
>drive.  Within each cmd.exe session, each drive has its own current
>directory.

But that has never been true for Cygwin.  Or, at least it hasn't been
true for many years.  In Cygwin, C: used to mean "the root of the C
drive".

cgf

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019