Reputation: 193
I'm looking for a code to launch exe's stored in a sub folder of an hta. It must work for 97 exe's. I've tried multiple codes with no luck. I would like the link to be text but I could live with buttons.
Upvotes: 0
Views: 891
Reputation: 11
use "Wscript.shell"
I write my hta's in javascript; where the code is like:
var shell = new ActiveXObject("Wscript.shell");
shell.Run(strCommand, [intWindowStyle], [bWaitOnReturn]);
as documented at: http://ss64.com/vb/run.html
Upvotes: 1