How to hit Enter in cmd from VBSCript
<p>Trying to run few Commands from VBScript</p>

<pre><code>Dim objShell
Set objShell = WScript.CreateObject ("WScript.shell")
objShell.run "cmd /c cd C:\Script &amp; lcm_cli.bat -lcmproperty C:\LCMBiar_Import.property"
</code></pre>

<p>The Second command <code>lcm_cli.bat -lcmproperty C:\LCMBiar_Import.property</code> requires me to hit enter to complete its execution. Any idea how to do that through VBScript. </p>

<p>Tried giving 
<code>objShell.Sleep(1000)
objShell.SendKeys("{ENTER}")</code></p>

<p>but nothing happens. Still waits for manual hit of enter!</p>