title: Can't access activate, deactivate, or conda inside a conda environment
body: <p>So if I load a conda environment and want to use <code>conda</code> to install a package (or whatever else), I have to specify <code>conda.exe</code>.</p>
  <h2>What I expect to work:</h2>
  <pre><code>(randomenv) λ conda --version
  The system cannot find the path specified.
  </code></pre>
  <h2>What actually works:</h2>
  <pre><code>(randomenv) λ conda.exe --version
  conda 4.5.4
  </code></pre>
  <hr />
  <p>Further complicating things, the following:</p>
  <pre><code>(randomenv) λ where conda
  C:\Users\[USERNAME]\AppData\Local\conda\conda\envs\randomenv\Scripts\conda
  C:\Users\[USERNAME]\AppData\Local\conda\conda\envs\randomenv\Scripts\conda.bat
  C:\ProgramData\Anaconda3\Scripts\conda.exe
  </code></pre>
  <p>Is the first entry supposed to be <code>C:\Users\[USERNAME]\AppData\Local\conda\conda\envs\randomenv\Scripts\conda.exe</code> and the environment got setup wrong or something?</p>
  <h2>Edit:</h2>
  <p>We're now in to usage breaking issues. I can't use <code>deactivate</code>, because <code>deactivate</code> doesn't have a <code>.exe</code> extension.</p>
  <p>Per usual, <code>where deactivate</code> turns up:</p>
  <pre><code>C:\Users\[USERNAME]\AppData\Local\conda\conda\envs\randomenv\Scripts\deactivate
  C:\Users\[USERNAME]\AppData\Local\conda\conda\envs\randomenv\Scripts\deactivate.bat
  C:\ProgramData\Anaconda3\Scripts\deactivate
  C:\ProgramData\Anaconda3\Scripts\deactivate.bat
  </code></pre>
  <p>Even more hilariously frustrating:</p>
  <pre><code>(randomenv) λ C:\Users\[USERNAME]\AppData\Local\conda\conda\endevs\randomenv\Scripts\deactivate
  The system cannot find the path specified.
  </code></pre>
  <p>and then it gets even better:</p>
  <pre><code>(randomenv) λ cd C:\Users\[USERNAME]\AppData\Local\conda\conda\envs\randomenv\Scripts\
  
  C:\Users\[USERNAME]\AppData\Local\conda\conda\envs\randomenv\Scripts
  (randomenv) λ ls
  2to3.exe*       conda*          easy_install.exe*       epylint-script.py  iptest3.exe*        ipython-script.py  pip-script.py    pygmentize-script.py  pyreverse.bat        symilar.exe*
  2to3-script.py  conda.bat       easy_install-script.py  idle.exe*          ipython.exe*        isort.exe*         pydoc.exe*       pylint.bat            pyreverse.exe*       symilar-script.py
  activate*       deactivate*     epylint.bat             idle-script.py     ipython3.exe*       isort-script.py    pydoc-script.py  pylint.exe*           pyreverse-script.py  wheel.exe*
  activate.bat    deactivate.bat  epylint.exe*            iptest.exe*        ipython3-script.py  pip.exe*           pygmentize.exe*  pylint-script.py      symilar.bat          wheel-script.py
  
  C:\Users\[USERNAME]\AppData\Local\conda\conda\envs\randomenv\Scripts
  (randomenv) λ deactivate
  The system cannot find the path specified.
  </code></pre>
  <p>How can't it find a file that's in the current directory?</p>
  <h2>Edit2:</h2>
  <p>Found the following <a href="https://github.com/conda/conda/issues/344" rel="nofollow noreferrer">issue on GitHub</a> which says that exiting an environment requires that you <code>activate root</code>. That isn't working either, because <code>activate</code> can't be found just like all the other functions listed above.</p>