title: VBS WScript.Run With parameters?
body: <p>I am trying to make a script to open up Windows movie player after a designated delay, however I cannot get windows Media Player to open up with a file passed as a parameter. </p>
  
  <p>Heres what I have so far:</p>
  
  <pre><code>Dim objShell
  Set objShell = WScript.CreateObject( "WScript.Shell" )
  objShell.run "WMplayer" &amp; ""C:\Users\Public\Videos\Sample Videos\Wildlife""
  </code></pre>
  
  <p>I am getting an error on line 3 char 29 : Expected end of statement.</p>
  
  <p>Can anyone help me? It'd be greatly appreciated.</p>