anchor.diff:  )
   
   rem copy conf directory
  -robocopy %HOME_DIR%\conf %BASE_TGT%\conf > nul
  +robocopy %CATALINA_HOME%\conf %BASE_TGT%\conf > nul
   
   rem copy setenv.bat if exists
  -robocopy %HOME_DIR%\bin %BASE_TGT%\bin setenv.bat > nul
  +robocopy %CATALINA_HOME%\bin %BASE_TGT%\bin setenv.bat > nul
   
   echo Created CATALINA_BASE directory at %BASE_TGT%
   
  
positive.code: rem
  rem Usage: makebase <path-to-target-directory>
  
  rem first arg is the target directory
  set BASE_TGT=%1
  
  
negative.code:     echo Usage: makebase ^<path-to-target-directory^>
      goto :EOF
  )
  
  if exist %BASE_TGT% (
    rem target directory exists
  