init cmd.exe directly
@@ -82,7 +82,7 @@ jobs:
steps:
# https://github.com/conda/conda/issues/8865#issuecomment-508865446
- - script: call %CONDA%\Scripts\activate && conda init cmd.exe
+ - script: call %CONDA%\Scripts\activate && conda init C:\windows\system32\cmd.exe
displayName: Activate Conda on Windows
condition: eq( variables['Agent.OS'], 'Windows_NT' )
