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? 回答1: 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? 回答2: You mean launch an