解决方案 »

  1.   

    System.Diagnostics.Process.Start("NotePad");
      

  2.   

    using System;
    using System.Diagnostics;
    using Microsoft.Win32;
    using System.Management ;
    using System.Data;
    using System.Text;

    System.Diagnostics.Process p = new Process();
    p.StartInfo.FileName = "NotePad.exe";          
    p.StartInfo.Arguments = "文件路径";                 
    p.StartInfo.UseShellExecute = false;      
    p.StartInfo.RedirectStandardInput = true;   
    p.StartInfo.RedirectStandardOutput = true;  
    p.StartInfo.RedirectStandardError = true;  
    p.StartInfo.CreateNoWindow = false;          
    p.Start();  
    p.WaitForExit();
      

  3.   

    using System.Diagnostics;
    Process类。。