C#怎么调用桌面的应用程序

2025-06-23 06:53:09
推荐回答(1个)
回答1:

在桌面应用中当然是C#了,JAVA比较适合做大型的WEB应用System.Diagnostics.Process.Start("C:\\WINDOWS\\system32\\shutdown.exe");带参数调用的示例如下:// url's are not considered documents. They can only be opened// by passing them as arguments.Process.Start("IExplore.exe", " www.northwindtraders.com" );// Start a Web page using a browser associated with .html and .asp files.Process.Start("IExplore.exe", "C:\\myPath\\myFile.htm");Process.Start("IExplore.exe", "C:\\myPath\\myFile.asp");

满意请采纳