Opening multiple programs on a HTA <p>I'm using a HTA and I want to make various buttons to open different programs on the system.</p> <p>I've managed to get one program to run via the runfile command but how do I write to open another program using a separate button such as MS Word for example.</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Start Screen&lt;/title&gt; &lt;HTA:APPLICATION ID="startscreen" APPLICATIONNAME="startscreen" BORDER="thin" BORDERSTYLE="normal" CAPTION="yes" ICON="ss.ico" MAXIMIZEBUTTON="no" MINIMIZEBUTTON="yes" SCROLL="no" SHOWINTASKBAR="yes" SINGLEINSTANCE="yes" SYSMENU="yes" VERSION="1.0" Navigable ="yes" WINDOWSTATE="normal" contextmenu="no" /&gt; &lt;script type="text/javascript" language="javascript"&gt; function RunFile() { WshShell = new ActiveXObject("WScript.Shell"); WshShell.Run("c:/windows/system32/notepad.exe", 1, false); } &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;input type="button" value="Run Notepad" onclick="RunFile();"/&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>