This is the mail archive of the
mailing list for the Cygwin project.
Re: [1.7] Undocumented change in accessing by dos drive letters?
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
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple