比如要打开一个rar文件,前提是你已经安装了Winrar或类似的软件。 代码: System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName = "test.rar"; proc.StartInfo.UseShellExecute = true; proc.Start(); 更多请参考:http://bytes.com/topic/c-sharp/answers/260074-shellexecute-c