Solved

Running .EXE Files

Posted on 1998-06-16
3
217 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 50 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

691 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