Solved

Running .EXE Files

Posted on 1998-06-16
3
176 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

772 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