delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/01/10:49:49

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:cc:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=RRPAdY8Sg630BORvYZMnTt3xt7DBI
B606SF7uuXoBbvd6vAYWt6UgdIoIqhwfYbV+PNO9Iwh3S3qY/vRsmKRpk3hofS1T
LYT9w/F9lH2+GpiYTLQdBX7+nUGC+B8pHfurVs24Ro5lBK317yOiHdlaodOG3bnh
BVtWvWjUx2nbUo=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:cc:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=V1tolihTTLukFWU8Q6cEvhtO44s=; b=Afz
nn8rKOqGaw/w1jGV6iTK/06Q5h8iVxI9cN9sCjHzQ/7Ohz+9ElsslgqziDMr6J2d
ujZinbsqX7H/23M+aXzLH3cnjAhE86gn8cED+JaYBkGNV0vvhYw4D4JMuJO34wNq
c3IWnyz8S8fUav86KPvw3ymCFkY96M0qsmeJGza4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.7 required=5.0 tests=AWL,BAYES_80,RDNS_NONE,SPF_NEUTRAL autolearn=no version=3.3.2
X-HELO: na01-bn1-obe.outbound.protection.outlook.com
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>
Subject: RE: chere + mintty doesn't work with mapped drives
Date: Sun, 1 Dec 2013 15:48:56 +0000
Message-ID: <9ce71b17ad604e5c943e3c3731b145d1@CO2PR07MB556.namprd07.prod.outlook.com>
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>
In-Reply-To: <529B529F.7080608@googlemail.com>
x-forefront-prvs: 0047BC5ADE
x-forefront-antispam-report: SFV:NSPM;SFS:(51704005)(199002)(189002)(13464003)(74706001)(76576001)(74662001)(50986001)(76796001)(31966008)(74876001)(46102001)(81816001)(51856001)(87266001)(47976001)(56816005)(90146001)(54316002)(81686001)(47736001)(49866001)(4396001)(83072001)(2656002)(56776001)(19580395003)(76786001)(54356001)(87936001)(74366001)(74316001)(80976001)(76482001)(69226001)(81342001)(83322001)(63696002)(81542001)(19580405001)(53806001)(85306002)(79102001)(74502001)(77982001)(80022001)(59766001)(66066001)(47446002)(65816001)(33646001)(24736002);DIR:OUT;SFP:;SCL:1;SRVR:CO2PR07MB553;H:CO2PR07MB556.namprd07.prod.outlook.com;CLIP:72.81.217.80;FPR:;RD:InfoNoRecords;A:1;MX:1;LANG:en;
MIME-Version: 1.0
X-OriginatorOrg: nextcentury.com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id rB1Fnk9r021653

> -----Original Message-----
> From: David Kilroy [mailto:kilroyd AT googlemail DOT 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019