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


On Dec  1 15:48, Charles Butterfield wrote:
> > -----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

Are you starting mintty with "run as administrator" by any chance?


Corinna

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

Attachment: pgprJ8ADbIHye.pgp
Description: PGP signature


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