In the newest version of Windows Terminal, the changes are done in the settings.json file. Just change USERNAME to yours for the "commandline" setting.
{
// Make changes here to the cmd.exe profile.
"guid": "{0caa0dad-35be-5f56-a8ff-afceee452369}",
"name": "Anaconda",
"icon": "%USERPROFILE%\Anaconda3\Menu\anaconda-navigator.ico",
"commandline": "cmd.exe /K C:\Users\USERNAME\Anaconda3\Scripts\activate.bat",
"hidden": false
},
Cloud Developer Advocate @Microsoft, .Net Software Engineer, AI enthusiast, lifelong learner, geek, feminist, and really just want to do all of the things.
In the newest version of Windows Terminal, the changes are done in the settings.json file. Just change USERNAME to yours for the "commandline" setting.
{
// Make changes here to the cmd.exe profile.
"guid": "{0caa0dad-35be-5f56-a8ff-afceee452369}",
"name": "Anaconda",
"icon": "%USERPROFILE%\Anaconda3\Menu\anaconda-navigator.ico",
"commandline": "cmd.exe /K C:\Users\USERNAME\Anaconda3\Scripts\activate.bat",
"hidden": false
},
I updated to settings.json! Thanks!
My username is bsand, so my commandline setting is
"cmd.exe /K C:\Users\bsand\anaconda3\Scripts\activate.bat"
However, the \b is highlighted, I think it is acting as an escape character. Do you have any suggestions?
Try instead
"commandline": "cmd.exe /K C:\\Users\bsand\\anaconda3\\Scripts\\activate.bat"