System.Diagnostics.ProcessStartInfo Info = new System.Diagnostics.ProcessStartInfo();
            Info.FileName = "calc.exe";//调用系统计算器

           //timedate.cpl    调用系统时间设置;

           //notepad.exe 调用系统记事本;

           //其他的类似,只要把程序的名字换下就可以了。
            Info.WorkingDirectory = "%SystemRoot%\\system32\\";
            try
            {
                System.Diagnostics.Process.Start(Info);
            }
            catch(Exception ex)
            {
                MessageBox.Show(ex.Message.Trim());
            }

相关文章:

  • 2022-12-23
  • 2021-07-10
  • 2021-11-18
  • 2021-10-08
  • 2021-08-19
  • 2022-12-23
  • 2021-06-02
  • 2022-01-28
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
  • 2021-11-24
  • 2021-12-20
  • 2021-09-12
相关资源
相似解决方案