[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Running .EXE Files

How would I go about running an .exe file from my homepage?
0
Krueger092397
Asked:
Krueger092397
  • 2
1 Solution
 
Michel PlungjanIT ExpertCommented:
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
 
Krueger092397Author Commented:
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
 
Michel PlungjanIT ExpertCommented:
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now