anchor.diff:  for /F "TOKENS=1" %%a in ('type pid.log ^| findstr [0-9]') do set output=%%a
   endlocal & set child_pid=%output%
   goto :eof
  +::-----------------------------------------------------------------------
  +:getDontShowUI
  +setlocal
  +set output=0
  +for /F "TOKENS=3" %%a in ('reg query "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /v DontShowUI ^| findstr DontShowUI') do set output=%%a
  +endlocal & set DONTSHOWUI_VALUE=%output:~2%
  +goto :eof
  +::-----------------------------------------------------------------------
  +:setDontShowUI
  +setlocal
  +reg add "HKCU\Software\Microsoft\Windows\Windows Error Reporting" /v DontShowUI /t REG_DWORD /d %1 /f
  +endlocal
  +goto :eof
  
positive.code: set CURRENT_SCRIPT_DIR=%~dp0
  set DIRNAME=%CURRENT_SCRIPT_DIR%..
  cd %DIRNAME%
  
  :: Get current PID
  type NUL > pid.log
  
negative.code: for /F "TOKENS=1" %%b in ('type pid.log ^| findstr [0-9]') do set CURRENT_PID=%%b
  
  :: setup the otbenv
  call otbenv.cmd
  
  del selftest_report.log
  type NUL > selftest_report.log
  call :nb_report_lines
  set REF_SIZE=%nb_report_lines_out%
  :: -----------------------------------------------------------------------------------
  rem Check 1 : check binaries
  for /R %%i in (*.dll) do (
    call :check_binary %%i
  )
  for %%i in (bin\mapla.exe,bin\monteverdi.exe,bin\otbApplicationLauncherCommandLine.exe,bin\otbApplicationLauncherQt.exe) do (
    call :check_binary %%i
  )
  call :check_binary lib\python\_otbApplication.pyd
  
  call :nb_report_lines
  if %nb_report_lines_out% gtr %REF_SIZE% (
    echo Check 1/3 : FAIL
  ) else (
    echo Check 1/3 : PASS
  )
  set REF_SIZE=%nb_report_lines_out%
  :: -----------------------------------------------------------------------------------
  rem Check 2 : check applications and Python wrapping
  set /a app_count=0
  for /R %%i in (lib\otb\applications\otbapp_*.dll) do (
  