With Anaconda installed I got a anaconda base
shortcut on Windows startmanu. To open the virtualenv I created (e.g., myenv
), I have to click the anaconda base
and type in activate myenv
in the opened cmd window.
How can I create a shortcut to get to myenv
with one-click, without open-and-typing like the above?
I've tried to create a copy of the base shortcut and change its command property i.e., %windir%\System32\cmd.exe "/K" C:\Programs\anaconda3\Scripts\activate.bat C:\Programs\anaconda3\envs\myenv
. It does open the myenv cmdline, but seemed lost some buildin command,like conda
.
I guess I need a little bit help on Windows bat skills.