<script>
function run()
{
var obj = new ActiveXOjbect("WScript.Shell");
obj.Run("c:\\winnt\\notepad.exe");
}
</script><input type=button value="运行" onclick="run()">
function run()
{
var obj = new ActiveXOjbect("WScript.Shell");
obj.Run("c:\\winnt\\notepad.exe");
}
</script><input type=button value="运行" onclick="run()">
function openNotepad(){
var shell=new ActiveXObject("wscript:shell");
shell.run("nodepad d:\\test.ini");
}
</script>
function openNotepad(){
var shell=new ActiveXObject("wscript:shell");
shell.run("nodepad d:\\test.ini");
}
</script>
while(!Process2.HasExited) //等待解压的完成
{
}