delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/04/01:19:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4AF0E7FD.3060700@tlinx.org>
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> <4AF0E7FD DOT 3060700 AT tlinx DOT org>
Date: Wed, 4 Nov 2009 06:19:03 +0000
Message-ID: <416096c60911032219q4d7db00fr4612e55e7f2fe8c8@mail.gmail.com>
Subject: Re: [1.7] Undocumented change in accessing by dos drive letters?
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
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

2009/11/4 Linda Walsh:
>> 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.
>
> ---
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Right. =C2=A0That's a cmd.exe-ism =C2=A0-- As =
Christofpher F. says,
> it's not been true in Cygwin in a long time (I don't remember it being
> true, ever, but I never tried using it to see if it was supported).

Fair enough. All the more reason to remove support for "C:" then.

Btw, C: still does work for cd, e.g. 'cd C:' or 'cd C:Users', both in
bash and in zsh. How come?

Andy

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