页面放一Button(点击后跳转到该页面),点击后出现《运行》、《保存》、《取消》三个按钮!我如何让点击Button后,自动运行“迅雷”、“超级旋风”进行下载。(假设电脑上已经装了“迅雷”、“超级旋风”)
我下载页面的代码是这么写的:
string l_strFilename =  "abcd.exe";
//filename = HttpUtility.UrlEncode(System.Text.Encoding.GetEncoding("gb2312").GetBytes(filename));

System.IO.FileInfo info = new System.IO.FileInfo(Server.MapPath("~/") + "\\Setup\\" + l_strFilename); 
Response.AddHeader("content-type", "application/zip");
Response.AddHeader("content-length", info.Length.ToString()); 
string l_urlFileName = HttpUtility.UrlEncode(System.Text.UTF8Encoding.UTF8.GetBytes(l_strFilename));   
Response.AddHeader("content-disposition", "attachment;filename=" + l_urlFileName + ""); 
Response.WriteFile(Server.MapPath("~/") + "\\Setup\\" + l_strFilename);