Re: ImageJ does not work from the command line if image name contains parenthesis
Posted by
Gabriel Landini on
Dec 21, 2015; 1:59pm
URL: http://imagej.273.s1.nabble.com/ImageJ-does-not-work-from-the-command-line-if-image-name-contains-parenthesis-tp5015265p5015266.html
On Monday 21 Dec 2015 13:56:59 Stein Rørvik wrote:
> > This does not work:
> "C:\Program Files\ImageJ\ImageJ.exe" -macro "C:\MyPath\Test Macro.ijm"
> "C:\MyPath\MyImage (2).tif"
Is that a parenthesis issue or is it the spaces in the name?
There are often problems and unexpected behaviour when using files that have
spaces.
I do not know if it is a bug, but in the mean time, maybe you can create a Win
batch script that first copies the file from the read-only system into a
writeable location and then runs ImageJ on that location.
Cheers
Gabriel
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html