title: How to use filenames in VBS
body: <p>I've barely ever used vbscript before, so forgive my naivety.
  Here is very brief code, saved as "runningCheck.vbs":</p>
  
  <pre><code>Set WshShell = WScript.CreateObject("WScript.Shell")
  Return = WshShell.Run("node.exe index.js", 2, true)
  </code></pre>
  
  <p>This script is in the same directory as node.exe and index.js.  In windows command line, when I cd into the directory and run "runningCheck.vbs", it executes just fine.  However, when cd out of the directory and call the same vbs script with it's full filepath, it does not work anymore.<br>
  At first I though I just needed to provide the full path name in my vbs script, like so:</p>
  
  <pre><code>Set WshShell = WScript.CreateObject("WScript.Shell")
  Return = WshShell.Run("C:\Users\computeruser\Building Intelligence\javadobe\node.exe C:\Users\computeruser\Building Intelligence\javadobe\index.js", 2, true)
  </code></pre>
  
  <p>but I get the error "the system cannot find the file specified."
  How do I correctly specify the pathname?</p>
  
  <p>Thanks in advance the help!</p>