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#调用命令行控制程序
最新推荐文章于 2023-03-03 16:59:51 发布