c#运行批处理文件

            Process p = new Process();

            p.StartInfo.FileName = @"D:\My Documents\桌面\DelPrinter.bat";

            p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;          

            p.Start();

            p.Close();

了解了批处理文件相关知识。

相关文章:

  • 2022-03-05
  • 2022-02-27
  • 2021-12-04
  • 2021-10-05
  • 2021-09-29
  • 2022-02-08
猜你喜欢
  • 2022-01-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2021-08-04
  • 2022-12-23
相关资源
相似解决方案