title: How to run java program (jar file) via vbscript?
body: <p>I have this script:</p>
  
  <pre><code>Set WshShell = CreateObject("WScript.Shell")
  dim a
  a = "C:\Program Files (x86)\MyProgram\MyApplication.jar"
  WshShell.Run "javaw -jar " &amp; a
  </code></pre>
  
  <p>but when I execute, I got error message: "Error: Unable to access jarfile: C:\Program"</p>
  
  <p>the problem is... my program path contain space(s).
  How to fix this?</p>