Visual Studio Code, how to switch from powershell.exe to cmd.exe

后端 未结 7 2098
忘了有多久
忘了有多久 2021-02-01 00:43

I would like to switch from powershell.exe to cmd.exe in the terminal but i\'m not sure how to do so. Provided screenshot for clarification.

7条回答
  •  情歌与酒
    2021-02-01 01:02

    Very simple steps i found my self as below:

    1. Press Ctrl+` (or View > Terminal in menu) to open a new terminal pane.
    2. Click terminal selection dropdown and click 'Select Default Shell'.

    3. Choose terminal type Command Prompt or PowerShell

    4. Now Delete current opened terminal or open new terminal.

    Now, Command Prompt will be your default shell in VSCode.

提交回复
热议问题