Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running an executable from .html file?

Status
Not open for further replies.

Ovatvvon

Programmer
Feb 1, 2001
1,514
US
Hello,
Does anyone know if you can run an executable through an html page? I tried simlpe html like <A HREF='calc.exe'>Calc</A> but it just searches for another web document.

Please help...thanks in advance. -Ovatvvon :-Q
 
hello Ovatvvon

<html>
<body>
<A HREF='c:\winnt\system32\calc.exe'>Calc</A>
</body>
</html>

try this if u have winnt else mention the path where ur exe is stored option for downloading will come then choose either the option in that

if it works then let me know

from
Rishu
 
Weird, that specific path works fine, but when I put a full path otherwise, it doesn't...Perhaps if it is a shortcut it treats it as a regular web document...that's what is appearing to happen anyway.

Is there anyway to get it to open without displaying that annoying prompt? -Ovatvvon :-Q
 
hi friend.....
u can call an exe file from HTML .U 'll have to link the exe in html file.
when u'll click on that link it will give u two options.
1) Run the file in current location
2) Download and save the file.
thats it.
Dadu Reetesh singh
 
This I know...was wonderin if there's a way to bypass the presented dialog box though...it is very anoying, especially if we'll be using the program quite often. This is for an intranet. -Ovatvvon :-Q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top