title: Execute Batch file with argument through VBSscript
body: <p>Scenario: To generate multiple reports from the database, we execute the batch file in command prompt like</p>
  
  <p><code>C:\program files&gt; cmdbatchtest1.bat servername date Y Y</code></p>
  
  <p>With VBScript I tried to do similar:</p>
  
  <pre><code>set shell=createobject("wscript.shell")
  shell.Run "test1.bat.bat", 1, True '''''able to execute batch file alone
  shell.Run "cmd /K "&amp; com_e &amp; """\tp.bat""" &amp; "&amp;&amp;" &amp; c &amp; "&amp;&amp;" &amp; d, 1, True '''' unable to execute
  </code></pre>
  
  <p>Please help me to get this working.<br>
  Thanks in advance.</p>