以编程方式调用exe文件 [英] Calling exe file programatically
本文介绍了以编程方式调用exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我要从C#代码中调用一个exe文件.你能告诉我是否有办法解决问题.
谢谢.
Hi Every Body,
I am to call an exe file from the C# code. Can you tell me if there is some way arround.
Thank You.
推荐答案
流程 [^ ]类应具有所需的一切.
最简单的示例就是Process.Start(@"C:\MyApp.exe");
The Process[^] class should have everything you need.
The simplest example is justProcess.Start(@"C:\MyApp.exe");
看看 ^ ]类.
这是一个简单的示例:
Have a look at the Process[^] class.
Here is a simple example for you:
System.Diagnostics.Process.Start("exe name here");
问候
Regards
这篇关于以编程方式调用exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文