System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.CreateNoWindow = false;
startInfo.UseShellExecute = false;
startInfo.RedirectStandardInput = true;
startInfo.RedirectStandardOutput = true;
startInfo.RedirectStandardError = true;
startInfo.FileName = "D://Program Files//E.M. Magic Swf2Avi//mswf2avi.exe";
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
startInfo.Arguments = "mswf2avi /f F://TDDOWNLOAD//111.swf /o F://TDDOWNLOAD//out11.mpg /pi ini/ntscdvd.ini /pn mpg Normal ";
try
{
using (Process exeProcess = Process.Start(startInfo))
{
exeProcess.WaitForExit();
}
}
catch
{
}
c#调用命令行控制程序
最新推荐文章于 2021-03-18 21:14:53 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)