How do I change my VS Code terminal to cmd.exe instead of powershell?

前端 未结 2 1041
余生分开走
余生分开走 2021-01-24 23:17

For some reason my VS Code terminal is Powershell instead of cmd.exe. In my Terminal > External: Windows Exec is set to C:\\WINDOWS\\System32\\cmd.exe. However, when I open th

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-24 23:27

    1. Open File -> Preferences -> Settings
    2. Select User Settings in upper right corner.
    3. Add the following line

      "terminal.integrated.shell.windows": "cmd.exe"
      

      Source: https://blog.jongallant.com/2017/02/vs-code-integrated-terminal-powershell-default-change-to-cmd/

提交回复
热议问题