From ripley at stats.ox.ac.uk  Sat Jun  5 08:51:25 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sat Jun  5 08:51:29 2004
Subject: [Rd] 'cygpath -d' to fix windows paths with spaces
In-Reply-To: <D7A3CFD7825BD6119B880002A58F06C20C5214D1@groexmb02.pfizer.com>
Message-ID: <Pine.LNX.4.44.0406050749160.26709-100000@gannet.stats>

This should be done internally already, e.g. in the Perl code and by the 
Rpwd.exe we use.  The problem is to anticipate everything people might 
actually try.

On Sat, 5 Jun 2004, Warnes, Gregory R wrote:

> 
> The cygwin 'cygpath' command can now convert arbitrary windows and unix
> paths into the short ms-dos 8.3 equivalents.  This tools might allow the
> windows build system to better deal with those messy long Windows file and
> directory names that contain spaces.
> 
> EG:
> 
> warneg@GRDGROL99X1028: src [1]$ pwd
> /cygdrive/c/Documents and Settings/WarnesGR/My
> Documents/cygwin_home/src/gregmisc/src
> 
> warneg@GRDGROL99X1028: src [1]$ cygpath -d "`pwd`"
> c:\DOCUME~1\WarnesGR\MYDOCU~1\CYGWIN~1\src\gregmisc\src

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


[Rd] 'cygpath -d' to fix windows paths with spaces
Prof Brian Ripley