欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

多進程的實現(xiàn)投票的vbs腳本

 更新時間:2007年02月26日 00:00:00   作者:  
復制代碼 代碼如下:

set shell=createobject("wscript.shell")
set http=createobject("Microsoft.XMLHTTP")

'獲得"wscript.exe"進程的數(shù)量
a=0
for each ps in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_
if ps.name="wscript.exe" then a=a+1
next

if a<=5 then '默認的5進程,如果不足5個就運行一個自己
shell.run "wscript.exe """&wscript.scriptfullname&""""
else '第六個不參與刷票,用來退出程序
msgbox "按確定退出程序!",,"多進程刷票機 ——By 千寂孤城"
shell.run "taskkill /F /IM wscript.exe",0
wscript.quit
end if

' 開始刷票
do
http.open "POST","http://***/lookover.php?R1=2",false
http.send
loop
您可能感興趣的文章:

相關文章

最新評論