开发者

Running execute file in c# [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

How to shell execute a file in C#?

How can i run a开发者_Go百科n execute file in c# (by command line)?

and in addition, I want to save the output and see it on the screen?


See the System.Diagnostics.Process class. See MSDN.

You use the StadardOutput (and optionally StandardError) to get the output and put it at the screen any way you want.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜