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: chere + mintty doesn't work with mapped drives


> -----Original Message-----
> From: David Kilroy [mailto:kilroyd@googlemail.com]
> Can you run the following commands from mintty running bash vs cmd
> running bash:
> 
> cygpath -u "y:\apps"
> test -d /cygdrive/y/apps
> echo $?
> 
> Result of the first command should be /cygdrive/y/apps 2nd command
> shouldn't output anything Result of 3rd command should be 0 (true)
> 
> Dave.

Results from MINTTY+BASH:
----------------------------------
$ cygpath -u "y:\apps"
/cygdrive/y/apps

$ test -d /cygdrive/y/apps

$ echo $?
1

Results from CMD+BASH
------------------------------
$ cygpath -u "y:\apps"
/cygdrive/y/apps

$ test -d /cygdrive/y/apps

$ echo $?
0

Regards
-- Charlie

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


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