title: VBScript: Opening a file parameter that has spaces in it's name
body: <p>Im writing a small VBScript that i will pass a file path to. It works fine when the file name has no spaces but not when it does.</p>
  
  <p>As far as I can tell, this is the offending line:</p>
  
  <pre><code>If util.Run("c:\program files (x86)\microsoft office\office14\PPTVIEW.exe " &amp; WScript.Arguments(1)) = True Then
  ...perfomrm tasks...
  End If
  </code></pre>
  
  <p>I have tried putting quotes around WScript.Arguments(1) but i still get errors.
  Any ideas on how I can get it to work?</p>