permission denied with shell.application
<p>I have following java script code to run notepade.exe:</p>

<pre><code>enter code here &lt;SCRIPT type="text/javascript" LANGUAGE="JavaScript"&gt;  
  function executeCommands()
   {            
    var oShell = new ActiveXObject("Shell.Application");     
    var commandtoRun ="C:\WINDOWS\notepad.exe";
    oShell.ShellExecute(commandtoRun,"","", "open", "1");               
  }
&lt;/SCRIPT&gt;
</code></pre>

<p>The problem is that, when i run the script then it give error..."Permission denied."</p>

<p>Can anybody help me on this matter?</p>
