public static void RunBat(string batPath)
{
try
{
Process pro = new Process();
pro.StartInfo.UseShellExecute = true;
pro.StartInfo.FileName = batPath;
pro.StartInfo.CreateNoWindow = true;
pro.Start();
}
catch
{
throw;
}
}
public static void RunBat(string batPath)
{
try
{
Process pro = new Process();
pro.StartInfo.UseShellExecute = true;
pro.StartInfo.FileName = batPath;
pro.StartInfo.CreateNoWindow = true;
pro.Start();
}
catch
{
throw;
}
}