Re: Path to macro in Windows PowerShell
Posted by
Niko Ehrenfeuchter on
Dec 01, 2014; 4:50pm
URL: http://imagej.273.s1.nabble.com/Path-to-macro-in-Windows-PowerShell-tp5010708p5010709.html
Hi Masatoshi
On 01.12.2014 17:21, Masatoshi Katabuchi wrote:
> Hi,
>
> I am having trouble with command line options in Windows. Windows PowerShell doesn’t recognize a path to a macro file correctly.
>
> When I run the following command in the PowerShell,
>
> pushd C:\\Program Files\\ImageJ
> jre\\bin\\java -jar -Xmx2g ij.jar
> -macro C:Users\\Administrator\\Desktop\\test.txt
>
> The ImageJ returns the following error,
> Macro or scrip not found:
> C: \Program Files\ImageJ\macros\C:Users\Administrator\Desktop\test.txt
>
> When a macro file is located at "C:Users\\Administrator\\Desktop\\test.txt”, how should I specify a path to the macro?
you are missing the backslashes after "C:"
Cheers
Niko
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html