anchor.diff:  set MSYSCON=mintty.exe
   :startmintty
   start "%CONTITLE%" "%WD%mintty" -i /msys2.ico /usr/bin/bash --login %1 %2 %3 %4 %5 %6 %7 %8 %9
  -exit /b %ERRORLEVEL%
  -
  -:startconsolez
  -cd %WD%..\lib\ConsoleZ
  -start "%CONTITLE%" console -t "%CONTITLE%" -r %1 %2 %3 %4 %5 %6 %7 %8 %9
   exit /b %ERRORLEVEL%
   
   :startconemu
  
positive.code: if "x%~1" == "x-mingw64" shift& set MSYSTEM=MINGW64& goto :checkparams
  if "x%~1" == "x-mingw" shift& (if exist "%WD%..\..\mingw64" (set MSYSTEM=MINGW64) else (set MSYSTEM=MINGW32))& goto :checkparams
  rem Console types
  if "x%~1" == "x-consolez" shift& set MSYSCON=console.exe& goto :checkparams
  if "x%~1" == "x-mintty" shift& set MSYSCON=mintty.exe& goto :checkparams
  if "x%~1" == "x-conemu" shift& set MSYSCON=conemu& goto :checkparams
  if "x%~1" == "x-defterm" shift& set MSYSCON=defterm& goto :checkparams
  
negative.code: )
  
  if "x%MSYSCON%" == "xmintty.exe" goto startmintty
  if "x%MSYSCON%" == "xconemu" goto startconemu
  if "x%MSYSCON%" == "xdefterm" goto startsh
  
  