microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.83k stars 29.13k forks source link

Your `ComSpec` environment variable is wrong. It should be `ComSpec=C:\WINDOWS\system32\cmd.exe`. #224534

Open Nh0xSe7en opened 2 months ago

Nh0xSe7en commented 2 months ago
          Your `ComSpec` environment variable is wrong. It should be `ComSpec=C:\WINDOWS\system32\cmd.exe`.

image

You have to fix it using the environment variable UI. In the start menu type 'environment`, you should get this option image

Click on the following button: image

You should see ComSpec in the System Environment variable section: image

Fix that, then close and re-open all instances of VS Code.

Originally posted by @karrtikr in https://github.com/microsoft/vscode-python/issues/20339#issuecomment-1348448547

Nh0xSe7en commented 2 months ago

Xin hãy giúp tôi, làm ơn.