anchor.diff:  :# If there are output redirections, then cancel any attempt at redirecting output to the log file.
   set "Exec.Cmd1=%Exec.Cmd:"=%" &:# Remove quotes in the command string, to allow quoting the whole string.
   if not "%Exec.Cmd1:>=%"=="%Exec.Cmd1%" set "Exec.Redir="
  +if defined Exec.Redir set "NOREDIR=1" &:# make sure child scripts do not try to redirect output again 
   :# Second stage: Convert quoted redirection operators (Ex: ">") to a usable (Ex: >) and a displayable (Ex: ^>) value.
   :# Must be once for each of the four < > | & operators.
   :# Since each operation removes half of ^ escape characters, then insert
  
positive.code: :#   2016-09-01 JFL Bug fix: %RETURN% incorrectly returned empty variables.   #
  :#                  Added registry access routines.			      #
  :#   2016-10-19 JFL Bug fix: Routine :Exec now preserves initial errorlevel.  #
  :#                                                                            #
  :#          Copyright 2016 Hewlett Packard Enterprise Development LP         #
  :# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 #
  
negative.code: :# But the new variables created by the command must make it through.
  :# This should work whether :Exec is called with delayed expansion on or off.
  endlocal & if not .%NOEXEC%.==.1. (
    set "NOREDIR=%NOREDIR%"
    %Exec.RestoreErr% &:# Restore the errorlevel we had on :Exec entrance
    %Exec.Cmd%%Exec.Redir%
    set "NOREDIR=%NOREDIR0%"
    call :Exec.ShowExitCode
  )
  goto :eof
  