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: problem with drive letters when running from DOS box


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/


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