anchor.diff:      set CONDACTIVATE_PATH=
   :skipdeactivate
   
  -set CONDA_DEFAULT_ENV=%ANACONDA_ENVS%\%CONDA_NEW_ENV%
  -set CONDA_NEW_ENV=
  +set CONDA_DEFAULT_ENV=%CONDA_NEW_PATH%
   echo Activating environment "%CONDA_DEFAULT_ENV%"...
   set PATH=%CONDA_DEFAULT_ENV%;%CONDA_DEFAULT_ENV%\Scripts;%PATH%
  -set PROMPT=[%CONDA_DEFAULT_ENV%] $P$G
  +set PROMPT=[%CONDA_NEW_NAME%] $P$G
  +set CONDA_NEW_NAME=
  +set CONDA_NEW_PATH=
   
   REM Run any activate scripts
   if not exist "%CONDA_DEFAULT_ENV%\etc\conda\activate.d" goto noactivate
  
positive.code:     exit /b 1
  :skipmissingarg
  
  if exist "%ANACONDA_ENVS%\%CONDA_NEW_ENV%\conda-meta" goto skipmissingenv
      echo No environment named "%CONDA_NEW_ENV%" exists in %ANACONDA_ENVS%
      set CONDA_NEW_ENV=
      exit /b 1
  :skipmissingenv
  
  REM Deactivate a previous activation if it is live
  
negative.code:     set ANACONDA_ENVS=%%~fi
  )
  
  set CONDA_NEW_NAME=%~1
  
  if "%~2" == "" goto skiptoomanyargs
      echo ERROR: Too many arguments provided
      goto usage
  :skiptoomanyargs
  
  if not "%CONDA_NEW_NAME%" == "" goto skipmissingarg
  :usage
      echo Usage: activate envname
      echo.
  