<SCRIPT language=JavaScript>
function Run(){
try{
var objShell = new ActiveXObject("wscript.shell");
objShell.Run('mspaint');
objShell = null;
}
catch(e){
alert('找不到文件。')
}
}
</SCRIPT>
<button onclick="Run()">打开windows画图板</button>

posted on 2012-04-07 10:38  Asa.Zhu  阅读(455)  评论(0编辑  收藏  举报