anchor.diff:  @rem                                                                         ##
   @rem ##########################################################################
   
  -@rem 
  +@rem
   @rem $Revision$ $Date$
  -@rem 
  +@rem
   
   @rem Set local scope for the variables with windows NT shell
   if "%OS%"=="Windows_NT" setlocal
  
positive.code: :process_arg
  if "%_ARG%" == "" goto execute
  
  rem now unescape -q, -s, -d
  set _ARG=%_ARG:-q="%
  set _ARG=%_ARG:-s=*%
  set _ARG=%_ARG:-d=-%
  
  if "x4" == "x%_SKIP%" goto skip_4
  if "x3" == "x%_SKIP%" goto skip_3
  if "x2" == "x%_SKIP%" goto skip_2
  if "x1" == "x%_SKIP%" goto skip_1
  
  set CMD_LINE_ARGS=%CMD_LINE_ARGS% %_ARG%
  set _ARG=
  goto win9xME_args_loop
  
  :skip_4
  set _ARG=
  set _SKIP=3
  goto win9xME_args_loop
  
  :skip_3
  set _ARG=
  set _SKIP=2
  goto win9xME_args_loop
  
  :skip_2
  set _ARG=
  set _SKIP=1
  goto win9xME_args_loop
  
  :skip_1
  set _ARG=
  set _SKIP=0
  goto win9xME_args_loop
  
  :4NT_args
  
negative.code: if "%GROOVY_HOME%" == "" set GROOVY_HOME=%DIRNAME%..
  
  @rem classpath handling
  set _SKIP=1
  set CP=
  if "x%~1" == "x-cp" set CP=%~2
  if "x%~1" == "x-classpath" set CP=%~2
  if "x" == "x%CP%" goto init
  shift
  shift
  
  :init
  @rem get name of script to launch with full path
  set GROOVY_SCRIPT_NAME=%~f1
  