有什么方法调用系统默认程序打开文件?

比如我有一个文件c:\temp.avi,有什么方法可以调用系统的默认程序来打开它?
---------------------------------------------------------------

用下面的方法:
Shell("rundll32.exe url.dll,FileProtocolHandler c:\temp.avi", AppWinStyle.MaximizedFocus, False, -1)
---------------------------------------------------------------

System.Diagnostics.Process.Start("c:\temp.avi")

---------------------------------------------------------
Feeling

Published At
Categories with Web编程
Tagged with
comments powered by Disqus