- 帖子
- 11
- 积分
- 183
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2008-4-9
|
4楼
发表于 2008-4-29 12:23
| 只看该作者
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 -s 192.168.0.1 00-e0-4c-39-70-9e",0
next |
|