最佳答案
如果我运行 notepad.exe c:\autoexec.bat,
如何在 PowerShell 中获得 Get-Process notepad中的 c:\autoexec.bat?
或者我如何在 C # 中得到 Process.GetProcessesByName("notepad");中的 c:\autoexec.bat?