开发者

How can I run Process in .NET?

开发者 https://www.devze.com 2022-12-27 21:44 出处:网络
How can I ru开发者_如何学Gon Process in C# ? You could use Process.Start method: Process.Start(\"notepad.exe\");

How can I ru开发者_如何学Gon Process in C# ?


You could use Process.Start method:

Process.Start("notepad.exe");

And if you want to pass arguments:

Process.Start("notepad.exe", "test.txt");


Here you can find your answers:

http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx


I think you want the Process Class which can be used to start and control processes.

0

精彩评论

暂无评论...
验证码 换一张
取 消