On Wed, May 12, 2010 at 7:07 PM, Erich Studerus
<erich.studerus@bli.uzh.ch>wrote:

> Thanks again. It finally worked after copying the Sweave.sh file to a path
> that contains no spaces. Is there a special command for windows specific
> path names with spaces?
>
> Erich
>

Use the 8.3 filename.  From the MSDOS cmd window,
you can type
   dir filename /x
and you will get both the long name (possibly with embedded blanks) and the
8.3 short name.

C:\>dir /x prog*
 Volume in drive C has no label.
 Volume Serial Number is 1CD3-C69F
 Directory of C:\
04/28/2010  12:02 AM    <DIR>          PROGRA~1     Program Files
               0 File(s)              0 bytes
               1 Dir(s)  20,621,336,576 bytes free
C:\>dir /x progra~1/R
Invalid switch - "R".
C:\>dir /x progra~1\R
 Volume in drive C has no label.
 Volume Serial Number is 1CD3-C69F
 Directory of C:\progra~1\R
04/22/2010  08:56 PM    <DIR>                       .
04/22/2010  08:56 PM    <DIR>                       ..
02/23/2010  12:20 AM    <DIR>          R-210~1.1    R-2.10.1
04/22/2010  08:59 PM    <DIR>          R-211~1.0    R-2.11.0
               0 File(s)              0 bytes
               4 Dir(s)  20,621,332,480 bytes free
C:\>


The 8.3 name is constant on any machine.  It may vary across machines.


Rich

	[[alternative HTML version deleted]]

