Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/313.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何用C启动外部程序?_C# - Fatal编程技术网

C# 如何用C启动外部程序?

C# 如何用C启动外部程序?,c#,C#,您好,我正在制作一个应用程序,作为我制作的所有程序的仪表板,以便我可以从这个仪表板程序启动它们。启动这些外部程序需要什么代码 提前谢谢。看看这里的答案是否有用。格兰特,每个帖子你只需要问一个问题。你现在有3个不同的问题。对不起,我不知道你每个帖子只能问一个问题 string strProg= @"full file name of your program"; System.Diagnostics.Process.Start("CMD.exe",strProg);

您好,我正在制作一个应用程序,作为我制作的所有程序的仪表板,以便我可以从这个仪表板程序启动它们。启动这些外部程序需要什么代码


提前谢谢。

看看这里的答案是否有用。格兰特,每个帖子你只需要问一个问题。你现在有3个不同的问题。对不起,我不知道你每个帖子只能问一个问题
string strProg= @"full file name of your program";
System.Diagnostics.Process.Start("CMD.exe",strProg);