Start a command line including arguments from C#

后端 未结 3 1251
不知归路
不知归路 2021-01-15 11:33

I need to start a complete command line like \"app.exe /arg1:1 /arg2:true\" from my C# app.

Process.Start and ProcessStartInfo needs to have the filename and argumen

3条回答
  •  长情又很酷
    2021-01-15 12:10

    I've found the solution I've been looking for: Executing another program from C#, do I need to parse the "command line" from registry myself?

    Thanks again for your help!

提交回复
热议问题