日期:2014-05-18 浏览次数:20826 次
ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = Application.StartupPath + @"\Updater.exe"; startInfo.WindowStyle = ProcessWindowStyle.Normal; startInfo.Arguments = newVersion;//传参数给exe Process.Start(startInfo);
------解决方案--------------------
ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = Application.StartupPath + @"\DMM.AddUpdater.exe"; startInfo.WindowStyle = ProcessWindowStyle.Normal; startInfo.Arguments = newVersion; Process.Start(startInfo);
------解决方案--------------------
ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = Application.StartupPath + @"\DMM.AddUpdater.exe"; startInfo.WindowStyle = ProcessWindowStyle.Normal; startInfo.Arguments = newVersion; Process.Start(startInfo);