Login  Register

static boolean isWindows7() method in ij.IJ.java?

Posted by Bill Mohler on Jan 17, 2011; 10:02pm
URL: http://imagej.273.s1.nabble.com/static-boolean-isWindows7-method-in-ij-IJ-java-tp3685957.html

I have found a way in which Windows7 handles command line calls to
"netuse" differently than do previous Windows versions (including Vista,
I believe).  I would love to have my macro detect if a user is running 7
rather than something earlier, so I can modify my command line to the OS
specifically in each case.  Would it be possible to add a static boolean
isWindows7() method in ij.IJ.java?  I see that isVista() currently
accepts Windows7 for true, but I think that will break my functionality
with any users still running Vista.

Many thanks,
Bill