[Rd] 'cygpath -d' to fix windows paths with spaces
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Jun 5 08:51:25 CEST 2004
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 at GRDGROL99X1028: src [1]$ pwd
> /cygdrive/c/Documents and Settings/WarnesGR/My
> Documents/cygwin_home/src/gregmisc/src
>
> warneg at GRDGROL99X1028: src [1]$ cygpath -d "`pwd`"
> c:\DOCUME~1\WarnesGR\MYDOCU~1\CYGWIN~1\src\gregmisc\src
--
Brian D. Ripley, ripley at 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
More information about the R-devel
mailing list