This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: chere + mintty doesn't work with mapped drives
- From: Charles Butterfield <charles dot butterfield at nextcentury dot com>
- To: David Kilroy <kilroyd at googlemail dot com>
- Cc: "cygwin at cygwin dot com" <cygwin at cygwin dot com>, Charles Butterfield <charles dot butterfield at nextcentury dot com>
- Date: Sun, 1 Dec 2013 15:48:56 +0000
- Subject: RE: chere + mintty doesn't work with mapped drives
- Authentication-results: sourceware.org; auth=none
- References: <00ce27600b2e404cbb8f9e56c3994e8c at CO2PR07MB556 dot namprd07 dot prod dot outlook dot com> <e438b5ebbe69401b843342394f5a5ea9 at CO2PR07MB556 dot namprd07 dot prod dot outlook dot com> <5299A4BF dot 8070201 at gmail dot com> <e25e9576d2a2415ea90019117708d9d5 at CO2PR07MB556 dot namprd07 dot prod dot outlook dot com> <529B529F dot 7080608 at googlemail dot com>
> -----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