X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Rolf Campbell <rcampbell-cygwin@dragonwaveinc.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.20110621092310@mtu-net.ru> <4E00321A.30105@lysator.liu.se> <92658329.20110623165230@mtu-net.ru> <4E03492D.40109@gmail.com> <1144668147.20110623190534@mtu-net.ru> <4E035F46.7000207@gmail.com> <1291997550.20110623220605@mtu-net.ru> <4E045008.7030607@gmail.com> <D255ECB130623742B0975B8F16C166C3578C1C3BD2@LM-EXCHANGE.lifemodeler.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

