anchor.diff:  set ">>LOGFILE=>>%LOGFILE%"
   if not defined LOGFILE set "LOG=rem" & set ">>LOGFILE=rem"
   if .%LOGFILE%.==.NUL. set "LOG=rem" & set ">>LOGFILE=rem"
  +if .%NOREDIR%.==.1. set "LOG=rem" & set ">>LOGFILE=rem" &:# A parent script is already redirecting output. Trying to do it again here would fail. 
   set "ECHO.V=call :Echo.Verbose"
   set "ECHO.D=call :Echo.Debug"
   set "ECHOVARS.V=call :EchoVars.Verbose"
  
positive.code: 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%"
    goto :Exec.NextArg
  )
  set Exec.Cmd=%*
  
negative.code: :#                  %RETURN#%       Idem, with comments after the return      #
  :#                                                                            #
  :#  Variables       %>DEBUGOUT%     Debug output redirect. Either "" or ">&2".#
  :#                  %LOGFILE%       Log file name. Inherited. Default=""==NUL #
  :#                                  Always set using call :Debug.SetLog       #
  :#                  %DEBUG%         Debug mode. 0=Off; 1=On. Use functions    #
  :#                                  Debug.Off and Debug.On to change it.      #
  :#                                  Inherited. Default=0.                     #
  