What does dollar symbol mean in windows batch file language? -
i got following file setup environment tomcat:
if exist "%catalina_home%/jre${jdk.windows.version}/win" ( if not "%java_home%" == "" ( set java_home= ) set "jre_home=%catalina_home%/jre${jdk.windows.version}/win" ) set "java_opts=%java_opts% -dfile.encoding=utf8 -djava.net.preferipv4stack=true -dorg.apache.catalina.loader.webappclassloader.enable_clear_references=false -duser.timezone=gmt -xms1g -xx:maxpermsize=256m"
what dollar sign , el-like variables mean here?
update 1
this code located in setenv.bat
file, , called in catalina.bat
normally
rem standard environment variables if not exist "%catalina_base%\bin\setenv.bat" goto checksetenvhome call "%catalina_base%\bin\setenv.bat" goto setenvdone :checksetenvhome if exist "%catalina_home%\bin\setenv.bat" call "%catalina_home%\bin\setenv.bat" :setenvdone
it looks jre${jdk.windows.version}
being replaced install directory name - specific part not using windows batch commands. perhaps in tomcat's install routine.
Comments
Post a Comment