Ctrl
+Shift
+P
to show all commands.profile
in the displayed text box to filter the list.Terminal: Select Default Profile
.Select your preferred terminal shell, you can change this later in your settings or follow the same process as we do now
Command Prompt
(cmd.exe)Ctrl
+`
(or View > Terminal in menu) to open a new terminal pane.Add this user settings to your File -- Prefernces -- User Settings
// Place your settings in this file to overwrite the default settings
{
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
}
I found two different ways to switch from powershell to command prompt in VSCode. Very simple steps i found my self as below:
First one is very simple way:
Ctrl
+`
(or View > Terminal in menu) to open a
new terminal pane.Command Prompt
or PowerShell
Now, Command Prompt will be your default shell in VSCode.
Second one is also simple and handy for all devs.
Ctrl
+Shift
+P
to show all commands.shell
in the displayed text box to filter the list.Terminal: Select Default Shell
.Select your preferred terminal shell, you can change this later in your settings or follow the same process as we do now
Command Prompt
(cmd.exe)Ctrl
+`
(or View > Terminal in menu) to open a new terminal pane.2021 Update:
Hit Ctrl+Shift+P
Type/Paste : Terminal: Select Default Profile
Select the command prompt from the drop down list.
Thanks! :)
open settings (ctrl+comma)
find terminal.integrated.shell.windows
replace its value with C:\\Windows\\System32\\cmd.exe
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With