I use setenv.bat to point tomcat to my JRE and set some other options.
However, when running on an OS that returns Windows_NT from the OS
environment variable, Tomcat sets all of the batch files to setlocal.
Therefore, when setclasspath.bat is run, it doesn't see any of the variables
that were set by setenv.bat  Now I know I could set them globally for the
machine or user, but I'd rather not do that.  I also don't want to edit the
tomcat bat files to turn off the setlocal commands.

Speaking of which, does anyone know what the reasoning behind the setlocal
is in the first place?

Any advice would be appreciated.  TIA.

Bai Shen

Reply via email to