PowerToys:找不到命令

问题描述 投票:0回答:1

System.ComponentModel.Win32Exception (2):尝试使用工作目录“C:\Users 9711\AppData\Local\PowerToys”启动进程“pwsh.exe”时发生错误。系统缺少指定的文件。

在 System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) 在 System.Diagnostics.Process.Start(ProcessStartInfo startInfo) 在 Microsoft.PowerToys.Settings.UI.ViewModels.CmdNotFoundViewModel.RunPowerShellScript(字符串 powershellExecutable,字符串 powershellArguments,布尔 hidePowerShellWindow)

如何找到文件。也许是中文路径?

How to find the file

system power-toys
1个回答
0
投票

我试图“找不到命令”,因为我试图弄清楚文件是否已损坏,@ucked up,或者是这样或那样。然后它回复了这条消息。

“System.ComponentModel.Win32Exception (2):尝试使用工作目录“C:\Program Files\PowerToys”启动进程“pwsh.exe”时发生错误。系统找不到指定的文件。 在 System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) 在 System.Diagnostics.Process.Start(ProcessStartInfo startInfo) 在 Microsoft.PowerToys.Settings.UI.ViewModels.CmdNotFoundViewModel.RunPowerShellScript(String powershellExecutable, String powershellArguments, Boolean hidePowerShellWindow)PowerShell 7.4 或更高版本未检测到。安装说明可在 https://learn.microsoft.com/powershell/scripting/install/installing-powershell-on-windows”

找到

我对编程不太了解

© www.soinside.com 2019 - 2024. All rights reserved.