anchor.diff: +<# :# PowerShell comment block protecting the batch section
   @echo off
   :##############################################################################
   :#                                                                            #
  
positive.code: :#                  The major advantage of using setx over simply updating    #
  :#                  the registry key, is that setx sends a WM_SETTINGCHANGE   #
  :#                  broadcast to all Windows applications, ensuring that the  #
  :#                  new path is immediately reloaded in all of them.          #
  :#                                                                            #
  :#  History                                                                   #
  :#   1994-12-07 JFL Created ADDPATH.BAT for DOS and Windows 95.		      #
  
negative.code: :#                  Added support for moving and removing multiple paths.     #
  :#   2019-12-11 JFL Avoid displaying empty lines when PATH ends with a ;      #
  :#   2020-03-13 JFL Corrected one message and two comments.                   #
  :#   2020-10-01 JFL Bug fix: Use reg.exe to set system paths for large PATHs, #
  :#                  as setx.exe fails if the PATH is > 1KB. If using reg.exe, #
  :#                  still use setx on another variable to broadcast the change.
  :#                  Added PowerShell as an alternative broadcast mechanism.   #
  :#                  							      #
  :#          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=2020-10-01"
  
  set "SCRIPT=%~nx0"				&:# Script name
  set "SNAME=%~n0"				&:# Script name, without the extension
  set "SPATH=%~dp0" & set "SPATH=!SPATH:~0,-1!"	&:# Script path, without the trailing \
  set "SFULL=%~f0"				&:# Script full pathname
  set ^"ARG0=%0^"					&:# Script invokation name
  
  set "ECHO=call :echo"
  set "ECHO.D=call :noop"
  