http://imagej.273.s1.nabble.com/spaces-in-path-with-Bioformats-tp5008616p5008730.html
> I have an external disk whose designation includes spaces. I am running
> OSX 10.9.
> I find that the spaces in the path cause the BIo-Formats macro extensions
> to fail,
> I tried escaping the spaces, as in:
>
> newInputPath = replace(inputPath," ", "\\\\ ");
> Ext.setId(inputPath);
>
> and I tried enclosing the path in square brackets, as in:
> Ext.setId("["+inputPath+"]");
>
> but neither of these worked.
>
> As a workaround, I set up a symlink to the mount point, and then replaced
> the path, as in:
> if (indexOf(inputPath,"Seagate Expansion Drive") > 0) {
> inputPath = replace(inputPath, "Seagate Expansion Drive", "seagate");
> }
>
>
> and this works fine, but it is a hack.
>
> I prefer one (or both) of two options:
>
> 1. Get the extensions to accept the original path with spaces.
> 2. Get OSX to mount the disk by default with a mount directory whose name
> does not include spaces.
>
> The second option is not about ImageJ, but maybe there are people on this
> list who knowhow to do that.
>
> Thank in advance for your help.
>
> --aryeh
>
> --
> Aryeh Weiss
> Faculty of Engineering
> Bar Ilan University
> Ramat Gan 52900 Israel
>
> Ph: 972-3-5317638
> FAX: 972-3-7384051
>
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>