举报
用@ipaddress 这个不行,如果多网卡,或是有物理网卡有地址,再拨号上网,再连VPN,这个就不好判断了。 freedom 发表于 2011-7-31 19:11
RunWait(@ComSpec & ' /c ' & 'ipconfig /all >c:\ip.txt', '', @SW_HIDE) $ip = StringRegExp(FileRead('c:\ip.txt'),'(?:IP Address[^\d]+)(172\.168\.\d{1,3}\.\d{1,3})',3) For $i = 0 To UBound ($ip) -1 MsgBox(0,'您机器上172.168段IP ' & $i +1,$ip[$i]) Next FileDelete('c:\ip.txt')
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-27 02:38 , Processed in 0.087193 second(s), 13 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.