void Main()
{
    var psi = new ProcessStartInfo();
    psi.FileName = "cmd.exe";
    psi.Arguments = "/c start /ABOVENORMAL notepad \"c:\\abc.txt\"";
    psi.CreateNoWindow = true;
    psi.UseShellExecute = false;
    psi.RedirectStandardOutput = true;
    Process.Start(psi);
}

 

相关文章:

  • 2022-01-12
  • 2021-07-15
  • 2022-12-23
  • 2021-11-17
  • 2021-11-21
  • 2021-12-20
猜你喜欢
  • 2021-10-17
  • 2021-12-09
  • 2021-07-24
  • 2022-12-23
  • 2021-09-30
  • 2021-03-31
  • 2021-12-06
相关资源
相似解决方案