The terminal process failed to launch: Path to shell executable "C:\Windows\System32" is not a file of a symlink

Viewed 8056

enter image description here

I really don't know what to do. Can somebody help? it's on vscode

2 Answers

This is because it cannot find the .exe executable file, you can fix it with the following settings:

  1. If you use cmd.exe to execute the script, use:

"terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe"

  1. If you use PowerShell.exe to execute the script, use:
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"

For more, you could also refer to: Terminal.integrated.shell.windows.

Just remove deleted files from your workspace in visual studio code(like erase the history of open files/folder).it works for me

Related