Solved

Running .EXE Files

Posted on 1998-06-16
3
184 Views
Last Modified: 2010-04-09
How would I go about running an .exe file from my homepage?
0
Comment
Question by:Krueger092397
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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 is …
This article discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

930 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now