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: call :nmake cleanenv
  if not defined HAD_CONFIG del "%CONFIG.BAT%"
  endlocal & ( :# Return to the shell environment. %Variables% already expanded in the (block) below.
    if %SHOW_RESULT%==1 ( :# Do this only in the top make file, in case of recursive makes
      for /f %%v in ('type "%VARLISTFILE%"') do ( :# Note: Do not use %FOREACHLINE%, as the file may contain extra spaces in each line. 
        %ECHO.V% :# Trying "%%v"
        if defined %%v ( :# Remove variable from the parent shell environment
  	echo %%v
  	set "%%v="
        )
      )
  
negative.code: if "!ARG:~0,1!"=="/" ( :# This is a switch
    %ECHO.D% :# nmake switch !"ARG"!
    set "NMAKEFLAGS=!NMAKEFLAGS! !ARG!"
  ) else ( :# Not a switch, so either a variable definition or a goal
    set "ISDEF="
    for /l %%i in (0,1,20) do if not defined ISDEF if "!ARG:~%%i,1!!ARG:~%%i,1!"=="==" set "ISDEF=1"
  