title: How to run java program via vbscript with multiple arguments?
body: <p>I want to run a simple java programme with parsing arguments using VB Scripts.</p>
  <p>this is my VBScript code</p>
  <pre><code>Sub Button1_Click()
  Set WshShell = CreateObject(&quot;WScript.Shell&quot;)
  Dim jar
  Dim location
  Dim dictionary
  Set dictionary = CreateObject(&quot;Scripting.Dictionary&quot;)
  jar = &quot;C:\Users\Documents\ExP.jar&quot;
  location = &quot;C:\Users\Documents\TestProject&quot;
  Set WshShellExec = WshShell.Exec(&quot;java -jar &quot; &amp; Chr(34) &amp; jar &amp; Chr(34) &amp; location &amp; Chr(34))
  End Sub
  </code></pre>
  <p>This is my java class which I want to pass arguments</p>
  <pre><code>    public static void main(String[] args) {
          ReadTestScripts readTestScripts = new ReadTestScripts(args[3]);
  //location  =&quot;C:\\Users\\Documents\\TestProject&quot; - want to pass this path to java programme 
          readTestScripts.showResult();
      }
  </code></pre>
  <p>I didn't get the expected output when I pass the location as VBScript argument</p>