如何启动从网页中的EXE(asp.net) [英] How to launch an EXE from Web page (asp.net)

查看:113
本文介绍了如何启动从网页中的EXE(asp.net)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个内部的Web应用程序,我们希望Web页面包含指向几个实用程序是Win32的EXE。该EXE文件非常信任,由我们生产。 (不关心,如果它要求如果确定运行或保存)。我试图直接链接:这仅在本地工作(如C \\ NOTEPAD.EXE)。 (这将在网络上的共享)。试图文件:///和没有工作。
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:\notepad.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="\\DangerServer\Downloads\MyVirusArchive.exe" 
  type="application/octet-stream">Don't download this file!</a>

这篇关于如何启动从网页中的EXE(asp.net)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆