Re: Command line
Posted by Wayne Rasband on Nov 10, 2005; 3:37pm
URL: http://imagej.273.s1.nabble.com/Command-line-tp3704487p3704488.html
> we found that opening of image files by command line fails when there
> are blanks in the path indicating the location of the image file to be
> opened. Under Windows, the user path is commonly containing blanks so
> opening of files by command line is usually not possible.
Use quotes. Here is an example that opens two images:
cd "C:\Program Files\ImageJ\"
ImageJ "C:\Image Files\img1.jpg" "C:\Image Files\img2.jpg"
You have to first change to the ImageJ directory or the "ImageJ"
command will not work and you need to be running ImageJ 1.35g or later
to avoid launching another copy of ImageJ if ImageJ is already running.
-wayne