Okay, I feel silly now. I jus realized that XP returns Windows_NT from the OS variable. And my Tomcat install works fine in XP. So it's apparently something besides the setlocal. Which leaves me back at square one. :(
Any suggestions? On Tue, Sep 30, 2008 at 1:10 PM, Bai Shen <[EMAIL PROTECTED]> wrote: > 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 >