If you are using javascript as your scripting language in hta, then this could be a solution:
function openApp(sApp) {
var oShell = new ActiveXObject("WScript.Shell");
oShell.Run(sApp);
}
And then in your markup:
<a href="#" onclick="openApp('notepad.exe'); window.focus();">Click here</a>