delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/24/15:50:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB,RCVD_NUMERIC_HELO,SPF_HELO_PASS,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Rolf Campbell <rcampbell-cygwin AT dragonwaveinc DOT com>
Subject: Re: Strange cygpath behavior.
Date: Fri, 24 Jun 2011 15:49:16 -0400
Lines: 10
Message-ID: <iu2pns$nrd$1@dough.gmane.org>
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> <D255ECB130623742B0975B8F16C166C3578C1C3BD2 AT LM-EXCHANGE DOT lifemodeler DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
In-Reply-To: <D255ECB130623742B0975B8F16C166C3578C1C3BD2@LM-EXCHANGE.lifemodeler.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 2011-06-24 11:44, Fahlgren, Eric wrote:
> 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"

That is only useful on systems that have 8.3 filenames enabled.


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