problem with drive letters when running from DOS box

Corinna Vinschen corinna-cygwin@cygwin.com
Tue May 29 13:52:00 GMT 2007


On May 29 13:03, Erich Dollansky wrote:
> 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.

Sure.  The backslash makes the path absolute instead of relative to the
drive's cwd.


Corinna

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

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