Computing.Net > Forums > Disk Operating System > batch script to check a dynamic ip

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

batch script to check a dynamic ip

Reply to Message Icon

Name: wolf60s
Date: August 31, 2004 at 18:04:43 Pacific
OS: w2k
CPU/Ram: p4/256
Comment:

Hi, Is it possible to write batch script to check a dynamic ip(from cable company), it will send the ip to my email if the ip changes. The box is behind the router with a internal ip, the router connected with a cable modem for internet connection. The problem is the cable company assigned you a dynamic ip, and it changes sometime. When that happens, I can't not access my box outside my home. On the local box I can know my current external ip through the http://checkip.dyndns.org/. How to write that in a script to send the ip to my email if it changes? Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: August 31, 2004 at 19:11:19 Pacific
Reply:

ipconfig > ip.log

Then use a command line mailto.

M2

Mechanix2Go@Golden-Triangle.com


0

Response Number 2
Name: dark1
Date: September 17, 2004 at 09:46:58 Pacific
Reply:

is there any way that i can send "mailto" in a silent way???

=D


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: batch script to check a dynamic ip

Batch file to check if HD formatted - overcoming A,R,F? www.computing.net/answers/dos/batch-file-to-check-if-hd-formatted-overcoming-arf/2711.html

batch script to install SP3 HELP! www.computing.net/answers/dos/batch-script-to-install-sp3-help/13053.html

DOS batch to check file dates www.computing.net/answers/dos/dos-batch-to-check-file-dates/13578.html