anchor.diff:  
   :go
   :# Check that the addpaths.bat directory contains the other basic tools we need.
  -if not exist "%SPATH%\addpath.bat" (
  +if not exist "%SPATH%\paths.bat" (
     >&2 echo Error: %SCRIPT% must be located in the Tools directory itself.
     exit /b 1
   )
  
positive.code: :#                  Conversely add DOS path when running on an x86 processor. #
  :#                  Display the result path list just once in the end.        #
  :#                  Added option -r to remove all my personal paths.          #
  :#                                                                            #
  :#          Copyright 2016 Hewlett Packard Enterprise Development LP         #
  :# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 #
  :##############################################################################
  
  setlocal EnableExtensions EnableDelayedExpansion
  set "VERSION=2018-12-21"
  set "SCRIPT=%~nx0"
  set "SPATH=%~dp0" & set "SPATH=!SPATH:~0,-1!"
  set "SDRV=%~d0"
  
negative.code: 
  :Add1Path.Init
  :# Look for addpath.bat in the same directory as this script
  set "ADDPATH=%SPATH%\paths.bat"
  :# Else look for paths.bat in the PATH
  if not exist "%ADDPATH%" for %%I in (paths.bat) do set "ADDPATH=%%~$PATH:I"
  :# If it's not there either, report the error
  if not defined ADDPATH >&2 echo Error: Can't find paths.bat & exit /b 1
  :# Note: Even if paths.bat is in the PATH, do not use its unqualified name,
  :# because this would break during paths removal.
  goto :eof
  
  :Add1Path
  set "RETCODE=0"
  if exist "%~1" (
    %CALL% %ADDPATH% -q    -a "%~1"
    if errorlevel 1 set "RETCODE=1"
    %CALL% %ADDPATH% -q -s -a "%~1"
    if errorlevel 1 set "RETCODE=1"
  )
  exit /b %RETCODE%
  