anchor.diff:  
   set "WD=%__CD__%"
   if NOT EXIST "%WD%msys-2.0.dll" set "WD=%~dp0usr\bin\"
  +set "LOGINSHELL=bash"
   
   rem To activate windows native symlinks uncomment next line
   rem set MSYS=winsymlinks:nativestrict
  
positive.code:   exit /b 1
  )
  if not defined MSYS2_NOSTART (
    start "%CONTITLE%" "%ComEmuCommand%" /Here /Icon "%WD%..\..\msys2.ico" /cmd "%WD%bash" --login %1 %2 %3 %4 %5 %6 %7 %8 %9
  ) else (
    "%ComEmuCommand%" /Here /Icon "%WD%..\..\msys2.ico" /cmd "%WD%bash" --login %1 %2 %3 %4 %5 %6 %7 %8 %9
  )
  exit /b %ERRORLEVEL%
  
  :startsh
  set MSYSCON=
  if not defined MSYS2_NOSTART (
    start "%CONTITLE%" "%WD%bash" --login %1 %2 %3 %4 %5 %6 %7 %8 %9
  ) else (
    "%WD%bash" --login %1 %2 %3 %4 %5 %6 %7 %8 %9
  )
  exit /b %ERRORLEVEL%
  
  
negative.code: 
  :printhelp
  echo Usage:
  echo     %~1 [options] [login shell parameters]
  echo.
  echo Options:
  echo     -mingw32 ^| -mingw64 ^| -msys[2]   Set shell type
  