anchor.diff:  
   :: ========================================================================
   ::
  +:: Autoloading the rest of tools from %TEA_HOME%\opt
  +::
  +:: ========================================================================
  +
  +for /d %%d in ( "C:\PROGS\opt\*" ) do call :cmd.env.select.set.path "%%~d"
  +
  +:: ========================================================================
  +::
   :: Integration with ConEmu
   ::
   :: ========================================================================
  
positive.code: 
  :: Common paths
  set "PATH=%PATH%;%TEA_HOME%\bin;%TEA_HOME%\var"
  
  :: ========================================================================
  ::
  :: Autoloading from %TEA_HOME%\opt
  ::
  :: ========================================================================
  
  for /d %%d in ( "C:\PROGS\opt\*" ) do call :cmd.env.select.set.path "%%~d"
  
  :: ========================================================================
  ::
  
negative.code: call :cmd.env.set.path "%~2"         "%~3" && set "%~1=%~2"
  goto :EOF
  
  :: ========================================================================
  
  :: %~1 - the directory's path
  :: %~2 - /P to force prepending to %PATH%, or empty
  :cmd.env.select.set.path
  :: Only one of these paths will be appended to %PATH%
  call :cmd.env.set.path "%~1\bin" "%~2" && goto :EOF
  