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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=old7Z+NWc6oqYxSNnQzm6p6M53IGhF e7ebBvAZDvT1h6v1fnzvowKdlSgQVWvcqB7Aq1JxRDp8uV8Wmgia6os9bsIy9C1x JJrPNnx6TeSjtzwDiHIBALiw3HTaYV8srcQ8+ioa9CqbXBygZTXImYfGc7i+Y2MY NJocyTechMvpU= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=EZCPRFw62bwZWstS34s2o5ZJx0k=; b=NjHI hYJ/KYq1gp2VcYgRZ6wU5jiMxyqWEHzGJ+zqa4TWxxcE8rxJaL9RZCTWu7cHw0JO r7aLSH2QMZnLV9SbWlCaLyvUxjP70pXXE0SylJcNZ5hqyLO8ljZ14wA4PYBtdW4H dB5m3ObQl0Xgi6YNjVFUR1v0xAzIPEViDg58C0Q= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,TW_YG autolearn=ham version=3.3.1 Date: Wed, 12 Jun 2013 21:33:52 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygpath problem Message-ID: <20130612193352.GB1736@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Note-from-DJ: This may be spam On Jun 12 22:15, Алексей Павлов wrote: > Hi everybody! > > I have a question about using cygpath. > Trying to get windows paths in different locations > > alexey AT 78CE /cygdrive/c > $ cygpath -w . > . > alexey AT 78CE /cygdrive/c > $ cygpath -w /cygdrive/c > C:\ > alexey AT 78CE /cygdrive/c > $ cd /home > alexey AT 78CE /home > $ cygpath -w . > C:\Test\cross32\home\ > > As I see I cant properly get windows path if I try to get it on > current directory that contain /cygdrive prefix. > > > Is it feature or bug? Try the -a (for "absolute") flag: $ cygpath -wa . C:\cygwin64\home\corinna Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- 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