Login  Register

Path to macro in Windows PowerShell

Posted by Masatoshi Katabuchi on Dec 01, 2014; 4:21pm
URL: http://imagej.273.s1.nabble.com/Path-to-macro-in-Windows-PowerShell-tp5010708.html

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? 

Thank you,
Masatoshi

-- 
Masatoshi Katabuchi
Department of Biology
University of Florida
310 Carr Hall
Gainesville, FL 32611
email: [hidden email]

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html