Strange cygpath behavior.

Rolf Campbell rcampbell-cygwin@dragonwaveinc.com
Fri Jun 24 19:49:00 GMT 2011


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



More information about the Cygwin mailing list