您的位置:首页 > 编程语言 > C#

C# 调用外部程序

2006-12-20 10:51 260 查看

        string path="外部文件完整路径";


        System.Diagnostics.Process.Start(path);  




        //Start a Web page using a browser associated with .html and .asp files.  


        System.Diagnostics.Process.Start("IExplore.exe",   "C:/myPath/myFile.htm");  


        System.Diagnostics.Process.Start("IExplore.exe",   "C:/myPath/myFile.asp");    
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  c# path string c