Board logo

标题: 在xp下编写一个脚本, 怎样获得我自己的ip? [打印本页]

作者: twf_cc     时间: 2004-7-19 00:00    标题: 在xp下编写一个脚本, 怎样获得我自己的ip?

我知道
ipconfig | findstr /C:"IP Address"  得到
IP Address..................................... : 123.456.789.0
但我只需要 123.456.789.0 显示到显示器, 怎样编写?
谢谢