gogo023 发表于 2010-11-19 08:53:49

谁能把这个VBS 转成AU3

谁能把这个VBS 转成AU3

set Ws = WScript.CreateObject("WScript.Shell")
count=0
for each ps in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_
if ps.name="wscript.exe" then count=count+1
next
if count > 2 then wscript.quit
i=1
for i = 1 to 3
i=i-1
WScript.Sleep(1000*60*0.1)
ws.run "arp -d",0
ws.run "arp -s 192.168.0.200 00-07-e9-33-96-a5",0
next

duxing47 发表于 2010-11-19 10:19:28

看不大懂VBS…… 还不如直接说你要的效果……
重新写一个来的好……
这个程序看上去好像是每6秒循环绑定ARP而已...

link369 发表于 2010-11-19 16:14:32

执行3次吧,6秒执行一次

.個朲綉√ 发表于 2010-11-20 10:25:48

楼主直接说你的VBS实现的功能,Au3肯定能做到。

nbmpe 发表于 2010-11-20 10:28:21

VBS只看过一点点,你直接说效果,明白点.
页: [1]
查看完整版本: 谁能把这个VBS 转成AU3