anchor.diff:    rem if no parameters defined
     goto :run
   )
  +rem ******* ERLANG PARAMETERS **********************
   for /f "usebackq" %%m in (`echo %par%^|findstr \--detached`) do (
     set parsErlang=%parsErlang% -detached
     goto:startloop
  
positive.code: @echo off
  set argc=0
  for %%x in (%*) do set /A argc+=1
  if  %argc%== 0 (
  
negative.code:   shift
    goto:startloop
  )
  for /f "usebackq" %%m in (`echo %par%^|findstr \--erl`) do (
    set beforeExtra=%beforeExtra% %~1
    shift
    goto:startloop
  )
  rem ******* elixir parameters **********************
  for /f "usebackq" %%m in (`echo %par%^|findstr \--v`) do (
    goto:startloop
  )
  for /f "usebackq" %%m in (`echo %par%^|findstr \--compile`) do (
    goto:startloop
  )
  for /f "usebackq" %%m in (`echo %par%^|findstr \--no-halt`) do (
    goto:startloop
  )
  for /f "usebackq" %%m in (`echo %par%^|findstr \+iex`) do (
    goto:startloop
  )
  for /f "usebackq" %%m in (`echo %par%^|findstr \+compile`) do (
    goto:startloop
  )
  for /f "usebackq" %%m in (`echo %par%^|findstr \-[erS]`) do (
    shift
    goto:startloop
  )
  for /f "usebackq" %%m in (`echo %par%^|findstr \-p[raz]`) do (
    shift
    goto:startloop
  )
  for /f "usebackq" %%m in (`echo %par%^|findstr \--remsh`) do (
    shift
    goto:startloop
  )
  rem ******* elixir file **********************
  for /f "usebackq" %%m in (`echo %par%^|findstr \.ex`) do (
    goto:run
  )
  REM Others should give a problem
  echo ERROR: Parameter %par% is not allowed before the .ex file
  exit /B -1
  :run
  echo erl -env ERL_LIBS %ERL_LIBS%;"%~dp0\..\lib" -noshell %ELIXIR_ERL_OPTS% %parsErlang% -s elixir start_cli %beforeExtra% -extra %*
  