?
Solved

Running .EXE Files

Posted on 1998-06-16
3
Medium Priority
?
220 Views
Last Modified: 2010-04-09
How would I go about running an .exe file from my homepage?
0
Comment
Question by:Krueger092397
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 100 total points
ID: 1844231
Running How?

Running your exe on my pc when I view your homepage - <A HREF="runthis.exe">Click here to download my program, answer yes when you are asked if you wish to open it</A>

Good luck getting me to click on this ;-)

-----------------------------------------------
Running my exe on my pc when I view your homepage - <A HREF="c:\windows\format.exe c:">Click here to format your harddisk</A>

I don't think so...
---------------------------------

Running your exe on your webserver when I view your homepage
<A HREF="/cgi-bin/program.exe?parameters">Click here to see the latest results from the world championship, courtesy of CNN</A>

This will always work.

Michel
0
 

Author Comment

by:Krueger092397
ID: 1844232
I used that line of code, but it leads only to a download of the .exe file, not an online running of it.  How do I run it online?
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1844233
This one?
<A HREF="runthis.exe">Click here to download my program,
    answer yes when you are asked if you wish to open it</A>

This will, depending on browser, ask if you wish to open or save to disk.
MSIE 4 and NS4 do ask this - Others will have to download and then run it themselves.

or This one - (please be a little more specific):
<A HREF="/cgi-bin/program.exe?parameters">Click here to see the latest results from the world championship, courtesy
    of CNN</A>

This last one will only run on a webSERVER and then only if the administrator allows it/sets it up to run.

Hope this clarifies it...

Michel

PS: If you REALLY want to run a local program, Netscape4 will after many dire warnings (unless you get the script signed) allow a program to run like this:

<script>
netscape.security.PrivilegeManager.enablePrivilege("UniversalExecAccess");
java.lang.Runtime.getRuntime().exec("c:\\WINNT\\system32\\calc.exe");
</script>
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question