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 "CURRENT_DIR=%cd%"
  if not "%CATALINA_HOME%" == "" goto gotHome
  set "CATALINA_HOME=%cd%"
  if exist "%CATALINA_HOME%\bin\tomcat7.exe" goto okHome
  rem CD to the upper dir
  cd ..
  set "CATALINA_HOME=%cd%"
  :gotHome
  if exist "%CATALINA_HOME%\bin\tomcat7.exe" goto okHome
  echo The tomcat.exe was not found...
  echo The CATALINA_HOME environment variable is not defined correctly.
  echo This environment variable is needed to run this program
  
negative.code: set "CATALINA_BASE=%CATALINA_HOME%"
  :gotBase
  
  set "EXECUTABLE=%CATALINA_HOME%\bin\tomcat8.exe"
  
  rem Set default Service name
  set SERVICE_NAME=Tomcat8
  set PR_DISPLAYNAME=Apache Tomcat 8
  
  if "x%1x" == "xx" goto displayUsage
  set SERVICE_CMD=%1
  