This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] Undocumented change in accessing by dos drive letters?


On Nov  2 21:27, Corinna Vinschen wrote:
> On Nov  2 14:22, Larry Hall (Cygwin) wrote:
> > 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.
> 
> And /cygdrive/c, of course.  What's the idea to use DOS paths in
> POSIX shell scripts?

Btw., C: still works, if you have a file in the current working called
"C:"...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]