X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 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: <4AEF316F.2070502@cygwin.com> References: <19183 DOT 9501 DOT 7117 DOT 656831 AT consult DOT pretender> <4AEF316F DOT 2070502 AT cygwin DOT com> Date: Mon, 2 Nov 2009 20:58:02 +0000 Message-ID: <416096c60911021258j27d49894kda1f835b3f487a3b@mail.gmail.com> Subject: Re: [1.7] Undocumented change in accessing by dos drive letters? From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/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: >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0: >> For example: >> =C2=A0 =C2=A0 =C2=A0 =C2=A0$ ls C: >> =C2=A0 =C2=A0 =C2=A0 =C2=A0ls: cannot access C:: No such file or directo= ry >> >> 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. 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