C:\Users\ztwer\System32\cmd.exe "/K" C:\Users\ztwer\anaconda3\Scripts\activate.bat C:\Users\ztwer\anaconda3
When running, the cmd window title should say "anaconda", like this:
I am trying to run this with AHK. I have tried Run, %comspec% /c, and many other ways, but it's only opening the regular cmd, without "anaconda" like so:
Here's my last attempt, please help me run this cmd command so that it opens correctly with the "anaconda," as it does when I click the shortcut.
Code: Select all
param= "/K" C:\Users\ztwer\anaconda3\Scripts\activate.bat C:\Users\ztwer\anaconda3
Run "C:\Windows\System32\cmd.exe" "%param%"