How can I run a program or batch file on the client side?

How can I run a batch file on the client side? An exe file? Just to open pre-installed program in client side?

[Edit]

Regarding ActiveX, I tried

    var activeXObj = new ActiveXObject("Shell.Application");
    activeXObj.ShellExecute("C:\\WINDOWS\\NOTEPAD.EXE", "", "", "open", "1");

but this doesn't work. Any suggestions?


From Javascript? You can't. It's a security risk. Think about it - would you want every website to be able to run programs on your PC?


You mean launch an external program thru a browser window using JavaScript? No way you can do that! That's a goddamn security black hole!