problem with drive letters when running from DOS box

Erich Dollansky oceanare@pacific.net.sg
Tue May 29 10:04:00 GMT 2007


Hi,

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.

Erich

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list