如何从网页 (asp.net) 启动 EXE

编程入门 行业动态 更新时间:2024-10-28 10:23:41
本文介绍了如何从网页 (asp) 启动 EXE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

这是一个内部 Web 应用程序,我们希望其中的网页包含指向多个 Win32 EXE 实用程序的链接.EXE 是由我们信任和制作的.(不关心它是否询问是否可以运行或保存).我尝试了仅在本地工作的直接链接(例如 C: otepad.exe).(这将是网络上的共享).试过 File:///并没有奏效.IE7 是需要的浏览器.

This is an internal web application where we would like the Web pages to contain links to several utilities that are Win32 EXE. The EXEs are trusted and produced by us. (don't care if it asks if its ok to Run or Save). I tried direct link (e.g. C: otepad.exe) which works locally only. (This will be a share on the network). Tried File:/// and did not work. IE7 is the browser needed.

推荐答案

怎么样:

<a href="\DangerServerDownloadsMyVirusArchive.exe" type="application/octet-stream">Don't download this file!</a>

更多推荐

如何从网页 (asp.net) 启动 EXE

本文发布于:2023-10-22 09:10:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1517082.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网页   asp   EXE   net

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!