PDA

View Full Version : Get PublicIP Address (W2K)


TbWoody
06-16-2004, 06:57 AM
Hi. Looking for DOS equivalent util to www.IPChicken.com that will print my PublicIP to a file, or to the screen for capture to a file.
When my system was not behind a router, I did 'ipconfig /all > ipaddy.txt' every 10 min. and sent that .txt file to an FTP server to always get my Public IP for remote access.
Now behind a router, this will not work (returns 192.168.x.x). Any suggestions of a similar DOS util that gives the Public IP addy in DOS (like www.WhatIsMyIP.com does in Windows) but with output that can be captured to a file?
Thanks in advance for any suggestions.