ASP网页中使用 Wscript.Shell 执行文件

1 <script language=VBscript>
2   Set WshShell = CreateObject("WScript.Shell")
3   WshShell.Run "%windir%\notepad" ,3,false 
4 </script>
5 

但是这要看客户端IE的安全设定
1 <script language=javascript>
2 <!--
3 function aa(){
4 var WshShell = new ActiveXObject("WScript.Shell");
5 var oExec = WshShell.Exec("notepad");
6 }
7 -->

原文地址:https://www.cnblogs.com/meil/p/938303.html