using System;
using System.Diagnostics ;
public class test
{
static void Main()
{
Process p=new Process();
ProcessStartInfo ps=new ProcessStartInfo(@"c:/test.bat");
ps.UseShellExecute=true;
p.StartInfo=ps;
p.Start();
}
}
C#怎样执行DOS批处理文件
最新推荐文章于 2025-08-07 14:41:21 发布