delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/24/11:45:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.3 required=5.0 tests=AWL,BAYES_20,TW_YG
X-Spam-Check-By: sourceware.org
X-Katharion-ID: 1308930263.72764.cal3-mh482
From: "Fahlgren, Eric" <efahlgren AT lifemodeler DOT com>
To: Andrey Repin <cygwin AT cygwin DOT com>
Date: Fri, 24 Jun 2011 08:44:20 -0700
Subject: RE: Strange cygpath behavior.
Message-ID: <D255ECB130623742B0975B8F16C166C3578C1C3BD2@LM-EXCHANGE.lifemodeler.com>
References: <73619422 DOT 20110621092310 AT mtu-net DOT ru> <4E00321A DOT 30105 AT lysator DOT liu DOT se> <92658329 DOT 20110623165230 AT mtu-net DOT ru> <4E03492D DOT 40109 AT gmail DOT com> <1144668147 DOT 20110623190534 AT mtu-net DOT ru> <4E035F46 DOT 7000207 AT gmail DOT com> <1291997550 DOT 20110623220605 AT mtu-net DOT ru> <4E045008 DOT 7030607 AT gmail DOT com>
In-Reply-To: <4E045008.7030607@gmail.com>
MIME-Version: 1.0
X-IsSubscribed: yes
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p5OFjI8J011578

Marco atzeri wrote:
> you are right, but it is not very useful to translate a windows path in a
> windows path ...

On the contrary, it is exceedingly useful to be able to transform long names (with spaces) into short-form names without spaces.

$ cygpath -sm "$PROGRAMFILES"


--
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