终端进程无法启动:shell 可执行文件的路径“C:\Windows\System32”不是符号链接的文件

2023-11-29

enter image description here

我真的不知道该怎么办。 有人可以帮忙吗? 这是在 vscode 上


这是因为它找不到.exe可执行文件,您可以使用以下设置修复它:

  1. 如果你使用cmd.exe要执行脚本,请使用:

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

  1. 如果你使用PowerShell.exe要执行脚本,请使用:
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"

更多内容,您还可以参考:终端.集成.shell.windows.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

终端进程无法启动:shell 可执行文件的路径“C:\Windows\System32”不是符号链接的文件 的相关文章

随机推荐