anchor.diff:  rem NT Service Install/Uninstall script
   rem
   rem Options
  -rem install                Install the service using Tomcat7 as service name.
  +rem install                Install the service using Tomcat8 as service name.
   rem                        Service is installed using default settings.
   rem remove                 Remove the service from the System.
   rem
  
positive.code: set "CATALINA_BASE=%CATALINA_HOME%"
  :gotBase
  
  set "EXECUTABLE=%CATALINA_HOME%\bin\tomcat7.exe"
  
  rem Set default Service name
  set SERVICE_NAME=Tomcat7
  set PR_DISPLAYNAME=Apache Tomcat 7
  
  if "x%1x" == "xx" goto displayUsage
  set SERVICE_CMD=%1
  
negative.code: rem Use the environment variables as an example
  rem Each command line option is prefixed with PR_
  
  set PR_DESCRIPTION=Apache Tomcat 8 Server - http://tomcat.apache.org/
  set "PR_INSTALL=%EXECUTABLE%"
  set "PR_LOGPATH=%CATALINA_BASE%\logs"
  set "PR_CLASSPATH=%CATALINA_HOME%\bin\bootstrap.jar;%CATALINA_BASE%\bin\tomcat-juli.jar;%CATALINA_HOME%\bin\tomcat-juli.jar"
  