title: VBScript - Pass argument to HTA
body: <p>I am working on some scripting in VBScript, I need to pass some variable values along to a HTA I am going to use as a front end to show an update is taking place.</p>
  
  <p>How would I do that?</p>
  
  <pre><code>VBScript-------
  
  TestVar1 = "Something 1"
  TestVar2 = "Something 2"
  
  wshShell.Run "Updater.hta " &amp; TestVar1 &amp; TestVar2
  </code></pre>
  
  <p>Then</p>
  
  <pre><code>HTA------- 
  
  TestVar1 = Something.Arguments(0)
  TestVar2 = Something.Arguments(1)
  
  Msgbox TestVar1
  Msgbox TestVar2
  </code></pre>
  
  <p>I realise thats not exactly correct code, I am just placing it to illustrate what I am attempting to do.</p>
  
  <p>Any help you guys can provide in solving this would be great, thanks!</p>