如题,最好有代码,本人新手

解决方案 »

  1.   

    Process p = new Process(); p.StartInfo.FileName = "cmd.exe"; p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectStandardInput = true; p.StartInfo.RedirectStandardOutput = true; p.StartInfo.RedirectStandardError = true; p.StartInfo.CreateNoWindow = true; p.Start(); p.StandardInput.WriteLine("****.bat"); p.StandardInput.WriteLine("exit"); string strRst = p.StandardOutput.ReadToEnd(); 
      

  2.   

    System.Diagnostics.Process.Start(string path);
      

  3.   

    System.Diagnostics.Process.Start(string path);
    抢分的
      

  4.   

    System.Diagnostics.Process.Start(string path)