Click here to Skip to main content
15,887,325 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I want to execute a .hta file from an HTML page, what should I do to run it. Kindly help.

What I have tried:

I tried calling the .hta file with tag, but its not working.
Posted

1 solution

An HTA file[^] is the equivalent of an executable. You cannot launch an executable from script running in a browser. If you could, it would be a major security vulnerability.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900