IP地址查看工具顾名思义可以直接一键查询我们电脑连接网络的IP地址,在你不想进行繁琐的操作时可以很方便哦。IP地址查看工具请来小西这里下载,安全可靠,无毒无报错!
使用说明
1、本机公网ip地址获取查看,很简单的代码:
@echo off
echo On Error Resume next >checkip.vbs
echo Set oDOM=WScript.GetObject("http://www.ip138.com/ip2city.asp") >>checkip.vbs
echo WScript.sleep 2000 >>checkip.vbs
echo ip = Split(oDOM.documentElement.outerText) >>checkip.vbs
echo Set FSO = CreateObject("Scripting.FileSystemObject") >>checkip.vbs
echo Set SCF = FSO.OpenTextFile(FSO.BuildPath(FSO.GetSpecialFolder(0),"ip.txt"),2,True) >>checkip.vbs
echo SCF.Write(ip(0)) >>checkip.vbs
echo SCF.Write(ip(1)) >>checkip.vbs
echo SCF.Close >>checkip.vbs
checkip.vbs
type %windir%\ip.txt
del checkip.vbs; %windir%\ip.txt
pause>nul
2、获取你本机的ip地址:具体操作方法:
点击开始――运行――输入cmd,然后在提示符下输入:ipconfig/all,输入后