title: How to open an appication using VBScript within an HTA file
body: <p>I am having trouble with getting the HTML Application (<a href="http://github.com/meowcat-programming/meowcat_software/blob/master/MeowcatSoftware%20Launcher%20Demo.HTA" rel="nofollow noreferrer">MeowcatSoftware Launcher Demo.HTA on GitHub</a>) to open a target application, for example, MultiToolv0.2.exe. Is there a way to open the target applications such as the MultiTool using VBScript besides using Wscript.shell objects, which has been causing most of my problems? </p>
  
  <p>I have tried the following, which didn't work:</p>
  
  <pre><code>Sub RunProgram  
      Set objShell = CreateObject(“Wscript.Shell”)  
      objShell.Run “notepad.exe c:\script\test.txt”  
  End Sub  
  </code></pre>
  
  <p>(<a href="https://blogs.technet.microsoft.com/heyscriptingguy/2005/10/31/how-can-i-start-an-application-from-an-hta/" rel="nofollow noreferrer">From 'Hey, Scripting Guy" Blog Post</a>)</p>
  
  <p>I played around a little with it but couldn't figure out how to achieve my goal. The blog post also mentioned using a Windows Shell object instead of Wscript.shell, but it looks like from the example that the Windows Shell object method was for opening a file using another program, and I just want it to simply open the target application. <em><strong>How do I open a program using VBScript within an HTA Application?</strong></em></p>