Depending on which folder(s) you're wanting to point to couldn't you
just use the standard environment variables? Say %PROGRAMFILES% or
%HOMEPATH% depending on whether it was a system or user install?

On Mon, Dec 19, 2011 at 6:41 PM, Devon McCormick <devon...@gmail.com> wrote:
> Does anyone know an easy way to figure out, in a batch file, which Windows
> OS (XP and Windows 7 are all I really care about) I'm running under?
>
> I really want to know which J path to choose depending on this.  I suppose
> I could just define an environment variable specifying this but was hoping
> for something more general.
>
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to