anchor.diff:    :# Note: On XP, /f does not work if it is the last option.
     set CMD=reg add "%MKEY%" /f /v %PATHVAR% /d "%MPATH%"
     echo Warning: setx.exe is not available on this system.
  -  echo The %OWNER%'s default %PATHVAR% update will only be visible after a reboot.
  +  echo The %OWNER%'s default PATH update will only be visible after a reboot.
     echo Note: setx.exe is standard in Windows Vista and later versions.
     echo       A version for Windows XP is available in the XP Resource Kit.
   )
  
positive.code: if "%NOEXEC%"=="0" if "%QUIET%"=="0" goto :MasterPath.Echo
  exit /b
  
  :MasterPath.Remove1 %1=path to remove from %PATHVAR%
  set "MPATH=;!MPATH:;;=;!;"	&:# Make sure all paths have one ; on both sides
  set "MPATH=!MPATH:;%~1;=;!"	&:# Remove the requested value
  set "MPATH=!MPATH:~1,-1!"	&:# Remove the extra ; we added above
  
negative.code: if defined MPATH echo.%MPATH:;=&echo.%
  exit /b
  
  :MasterPath.Add1 %1=path to add to MPATH
  :# First check if the path to add was already there
  set "MPATH2=;!MPATH!;"		&:# Make sure all paths have a ; on both sides
  set "MPATH2=!MPATH2:;%~1;=;!"	&:# Remove the requested value
  