I have writen javascript which executes shell command to open an exe (say notepad.exe) on the clientside when user clicks on a link in IE browser.

It gives me "Permission denied" error when i try this.
If it is not Http path , that is if my html file is in the client side only it works fine.

Please suggest me what settings i have to set in the server so that it can execute an exe on the clientside (application like notepad or outlook etc.)

Please suggest.
Thanks in advance.