how to execute ProcessStartInfo with multiple arguments?I use this code:
ProcessStartInfo psexec = new ProcessStartInfo(@"D:\psexec.exe");
psexec.Arguments = $@"\\{ip} -s cmd /c c:\Windows\System32\wbem\WMIC.exe";
psexec.Arguments = $@"\\{ip} -s cmd /c c:\Windows\System32\wbem\WMIC.exe";
Process.Start(psexec);
but only the last argument is executed. how do I make everything run in turn?