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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing exe's with HTA

Status
Not open for further replies.

MarkMeerten

Programmer
Aug 20, 2003
37
BE
Hello,
How do i run a exe (or bat) file in a hta file?

Greetz,

Mark
 
I found the answer myself!!

var Shell = new ActiveXObject("wscript.shell");
Shell.Run("notepad.exe");

that's the trick i was looking for!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top