c#中,点击一个菜单项后调用exe文件

using System.Diagnostics;
 private void 导出数据ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Process myProcess = new Process();

            string fileName = @"成绩排名器.exe";  
 
            string para ="你好,欢迎你!";  
  
            ProcessStartInfo myProcessStartInfo = new ProcessStartInfo(fileName, para);  
  
            myProcess.StartInfo = myProcessStartInfo;  
  
            myProcess.Start();  
  
         
        }
原文地址:https://www.cnblogs.com/shouhouxiaomuwu/p/3389630.html