启动运行.exe的MS窗口 [英] launching a MS window that runs a .exe

查看:79
本文介绍了启动运行.exe的MS窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想我正在问正确的新闻组。如果没有,也许有人可以告诉我在哪里问这个初学者。问题。


我想点击启动微软窗口的图像(.jpg)

(cmd.exe或command.com)执行一些.exe,例如googleearth.exe。

我知道这很简单

你们大多数人但是我刚刚开始使用XHTML。我认为它始于


< html>

< body>

< p>

作为超链接的图像:


< a" ???">


<! - 通过点击图片启动Google地球 - >


< img border =" 0"

src =" ge.jpg"

width =" 32" height =" 32" />

< / a>

< / p>

< / body>

< / html>


谢谢。


- Andrew M. Neiderer

USARL


I think I am asking the right newsgroup. If not maybe someone could
tell me where to ask this "beginner" question.

I want to click on an image (.jpg) that launches a Microsoft window
(cmd.exe or command.com) which executes some .exe, e.g googleearth.exe.
I know this is simple
for most of you but I am just starting XHTML. I think it begins with

<html>
<body>
<p>
An image as a hyperlink:

<a "???">

<!-- start Google Earth by clicking image -->

<img border="0"
src="ge.jpg"
width="32" height="32"/>
</a>
</p>
</body>
</html>

Thank you.

- Andrew M. Neiderer
USARL

推荐答案

文章< J9 ******** @ arl.army.mil>,
ne ****** @ osprey.arl.army.mil (Andrew Neiderer)写道:
In article <J9********@arl.army.mil>,
ne******@osprey.arl.army.mil (Andrew Neiderer ) wrote:

我想我正在问正确的新闻组。如果没有,也许有人可以告诉我在哪里问这个初学者。问题。


我想点击启动微软窗口的图像(.jpg)

(cmd.exe或command.com)执行一些.exe,例如googleearth.exe。

我知道这很简单

你们大多数人但是我刚刚开始使用XHTML。我认为它以
开头
I think I am asking the right newsgroup. If not maybe someone could
tell me where to ask this "beginner" question.

I want to click on an image (.jpg) that launches a Microsoft window
(cmd.exe or command.com) which executes some .exe, e.g googleearth.exe.
I know this is simple
for most of you but I am just starting XHTML. I think it begins with



你不能直接启动应用程序。您需要做的是为用户提供间接打开应用程序的文档。


例如,要启动Google地球,您的链接应指向到KML

文件。如果安装了Google地球并正确设置了用户的浏览器

,则浏览器会将KML文件传递给Google地球。


更多信息: http://earth.google.com/kml/kml_tut。 html


-

如果你真的必须通过电子邮件与我联系,请访问
http://rumkin.com/tools/compression/base64.php

并解码以下字符串:

RW1haWw6IHBoaWxyb25hbkBibHVleW9uZGVyLmNvLnVr

You can''t start applications directly. What you need to do is provide
the user with a document that opens the application indirectly.

For example, to launch Google Earth, your link should point to a KML
file. If Google Earth is installed and the user''s browser is set up
correctly, the KML file will be passed to Google Earth by the browser.

More info here: http://earth.google.com/kml/kml_tut.html

--
If you really must contact me by email, visit
http://rumkin.com/tools/compression/base64.php
and decode the following string of characters:
RW1haWw6IHBoaWxyb25hbkBibHVleW9uZGVyLmNvLnVr




Andrew Neiderer写道:

Andrew Neiderer wrote:

我想点击启动Microsoft窗口的图像(.jpg)

(cmd.exe或command.com)执行一些.exe,例如googleearth.exe上。
I want to click on an image (.jpg) that launches a Microsoft window
(cmd.exe or command.com) which executes some .exe, e.g googleearth.exe.



这是不可能的。如果有可能,这将是一个主要的错误,并且需要立即在该浏览器中修复



也许您的页面刚刚启动Google earth和是安全的。你怎么会把这个和我的页面区分开来,这是邪恶的并且开始格式c:/"

而不是?你看到了问题,为什么网页浏览器_can''t_be

允许将特权从仅显示文件升级到

启动程序。


有很多方法可以解决这个问题。一种方法是在页面上嵌入一个可执行的

ActiveX控件,并允许它以严格的

权限运行。那么你如何证明ActiveX控件本身是安全的?
和值得信赖?关于如何可靠灵活地进行这方面的讨论仍然没有得到广泛的共识,这就是为什么ActiveX没有被风暴占据过的价格。

It''s not possible. If it were possible, that would be a major bug and
would need to be fixed immediately in that browser.

Maybe your page just starts Google earth and is safe. How would you
distinguish this from my page, which is Evil and starts "format c:/"
instead? You see the problem, for why web browsers _can''t_be_
permitted to escalate privileges from merely display documents to
starting programs.

There are ways around this. One way would be to embed an executable
ActiveX control on the page and allow that to run with serious
privileges. Then how do you prove the ActiveX control itself is safe
and trustworthy? There''s still no widespread consensus on how to do
this reliably and flexibly which is why ActiveX hasn''t ever taken the
web by storm.


Andy Dingley写道:
Andy Dingley wrote:

有很多方法可以解决这个问题。一种方法是在页面上嵌入一个可执行的

ActiveX控件,并允许它以严格的

权限运行。
There are ways around this. One way would be to embed an executable
ActiveX control on the page and allow that to run with serious
privileges.



我希望能够通过我们的

内联网浏览器中的链接运行可执行文件。你有什么线索我可以找到一个activex
你提到的
控制吗?


谢谢,Peter

I''d like to be able to run an executable via a link in a browser on our
intranet. Do you have any leads on where I might find an activex
control such as you mention?

Thanks, Peter


这篇关于启动运行.exe的MS窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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