anchor.diff:  if "%~1"=="-L" set "Exec.Redir=" & goto :Exec.NextArg :# Do not send the output to the log file
   if "%~1"=="-t" if defined LOGFILE ( :# Tee the output to the log file
     :# Warning: This prevents from getting the command exit code!
  -  if .%Exec.HaveTee%.==.1. set "Exec.Redir= 2>&1 | tee.exe -a %LOGFILE%"
  +  if .%Exec.HaveTee%.==.1. if not .%NOREDIR%.==.1. set "Exec.Redir= 2>&1 | tee.exe -a %LOGFILE%"
     goto :Exec.NextArg
   )
   set Exec.Cmd=%*
  
positive.code: set ">>LOGFILE=>>%LOGFILE%"
  if not defined LOGFILE set "LOG=rem" & set ">>LOGFILE=rem"
  if .%LOGFILE%.==.NUL. set "LOG=rem" & set ">>LOGFILE=rem"
  set "ECHO.V=call :Echo.Verbose"
  set "ECHO.D=call :Echo.Debug"
  set "ECHOVARS.V=call :EchoVars.Verbose"
  
negative.code: ) else ( :# For no error, use the quick %TRUE% trick
    set "Exec.RestoreErr=%TRUE.EXE%"
  )
  set "NOREDIR0=%NOREDIR%"
  set "Exec.Redir=>>%LOGFILE%,2>&1"
  if .%NOREDIR%.==.1. set "Exec.Redir="
  if not defined LOGFILE set "Exec.Redir="
  