title: Windows Script Host cannot find the file on startup
body: <p>I am having here a vbs-file which starts a batch script. The batch should run invisible, so i use this vbs-script:</p>
  
  <pre><code>WScript.CreateObject( "WScript.Shell" ).Run "loop.bat",0,0
  </code></pre>
  
  <p>The vbs is registered to the run-key in the registry-</p>
  
  <p>Everytime on startup it tells me that he cannot find the specified file.
  Maybe the Windows Script Host is starting to late for my vbs-script?</p>
  
  <p>What should I do?</p>
  
  <p>vbs with delayed start? This needs another loop, but my script shall be invisible.</p>
  
  <p>vbs in the startupfolder? Better taking the registry. For other reasons I cannot use the startupfolder.</p>
  
  <p>Thanks for your answers :)</p>