适用于hta的Sleep函数

    复制代码 代码如下:

    function Sleep(n){
        var a = new ActiveXObject(“WScript.Shell”);
        a.Run(“%comspec% /c ping -n ” + n + ” 127.0.0.1 > nul”, 0, 1);
        a = null;
    }

Leave a Reply

Leave a Reply