title: Return value for wshell.run
body: <p>I have a VB Script which triggers the jobs from the tool through a BAT file and get the status error/success.
  code is :</p>
  
  <pre><code>intReturn = WShell.Run(strBATFile,0,True)
  
  If intReturn = 1 Then 
      intReturn = 0  
      strJobStat = "Complete"
  End If
  
  If intReturn = 3 or intReturn=2 Then 
     intReturn = 1  
     strJobStat = "Error"
  End If
  </code></pre>
  
  <p>The above code is working fine, if a job triggers and Completed/Failed. But if the job didn't trigger (started) also, it shows success.</p>
  
  <p>please suggest what can be changed/added in the above code if the job did not started.
  What is the error code to handle.</p>
  
  <p>Thanks in Advance...</p>