【问题标题】:"The terminal process failed to launch: Path to shell executable "C:indowsystem32md.exe" does not exist."“终端进程无法启动:shell 可执行文件“C:indowsystem32md.exe”的路径不存在。”
【发布时间】:2021-02-27 16:06:27
【问题描述】:

我认为这是因为我的终端路径是“C:\Windows\System32\cmd.exe”,有某种拼写错误,这就是为什么 vs code 认为“indowsystem32md”不存在......我保留将我的 terminal.integrated.shell.windows 更改为“C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe”,并保存 settings.json 并重新启动我的 vs 代码,但是每当我尝试打开终端时它一直在标题中向我发送该错误消息。有人可以帮忙吗?

【问题讨论】:

  • 你的设置是什么样的?你能更新你的问题并包括相关的部分吗?

标签: terminal


【解决方案1】:

我今天遇到了同样的问题,解决方案是使用转发 / 而不是 \。所以我的路径最终看起来像:

C:/WINDOWS/System32/cmd.exe

而不是:

C:\Windows\System32\cmd.exe

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-07-01
    • 2020-11-15
    • 2016-02-29
    • 1970-01-01
    • 2021-05-25
    • 2011-04-14
    • 2013-02-12
    相关资源
    最近更新 更多