title: ShellExecute permission denied in windows
body: <p>Can someone tell me why permission is denied to run a shell command in windows and how to resolve?</p>
  
  <pre><code>function executeCommands(inputparms)
  {
    var oShell = new ActiveXObject("Shell.Application");
    var commandtoRun = "C:\\WINDOWS\\Notepad.exe";
    if (inputparms != "")
    {
      var commandParms = document.Form1.filename.value;
    }
    oShell.ShellExecute(commandtoRun, commandParms, "", "open", "1");
  }
  </code></pre>