title: Using a WScript.shell activeX to execute a command line in javascript
body: <p>I am trying to execute a command line using shell script by taking the example of below code </p>
  
  <pre><code>function callShellApp() {
      var objShell = new ActiveXObject("WScript.shell");
      objShell.run('"c:\menu.exe"');
  }
  </code></pre>
  
  <p>According to my required the objShell.run should be in synchronous mode until unless that happens i should allow the user to navigate the screen .Is there a way we can do that to maintain that .</p>