problem with drive letters when running from DOS box

Erich Dollansky
Tue May 29 10:04:00 GMT 2007


Corinna Vinschen wrote:
> On May 27 07:49, Erich Dollansky wrote:
>> I noticed a strange problem. I tried to run 'cmp' from a DOS box but it 
>> could not find the file.
>> cmp d:\Data\file1 e:file2
> Actually we don't expect this to work.  The DOS notion of a drive relative

it works perfectly even if the back slash is in the path.

> working directory isn't supported by Cygwin.  You should rather use POSIX
> paths anyway (cmp /cygdrive/d/Data/file1 /cygdrive/e/file2).
I did not know that this works when I start the program from a DOS box.


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list