title: Launch programs whose path contains spaces
body: <p>I need to launch programs in my local system using VBScript. But I am having trouble with the syntax. This is what I am using right now - </p>
  
  <pre><code>Dim objShell
  Set objShell = WScript.CreateObject( "WScript.Shell" )
  objShell.Run("iexplore")
  Set objShell = Nothing
  </code></pre>
  
  <p>The above code successfully launches IE. I want to launch other browsers. But, if I use - </p>
  
  <pre><code>Dim objShell
  Set objShell = WScript.CreateObject( "WScript.Shell" )
  objShell.Run("c:\Program Files\Mozilla Firefox\firefox.exe")
  Set objShell = Nothing
  </code></pre>
  
  <p>it is throwing an error saying that the file or path was not found. I am not sure how the parameter inside the Run() function is taken - should I give the path to an EXE or should I give some DOS commands?!</p>