Google Answers Logo
View Question
 
Q: windows scripts ( No Answer,   3 Comments )
Question  
Subject: windows scripts
Category: Computers > Internet
Asked by: brendan5000-ga
List Price: $5.00
Posted: 16 Aug 2005 10:18 PDT
Expires: 15 Sep 2005 10:18 PDT
Question ID: 556413
I'm looking for an easy way to retrieve the WAN IP of a computer
(behind a router so ipconfig won't work) and then email it once in
awhile to a given email address. Can I easily make a script or service
or whatever that will run on a Windows XP Pro computer that queries
www.whatismyip.com for the IP
address and then emails it? I know very little about web programming
but if its an easy task I'm willing to learn enough to write it.
Answer  
There is no answer at this time.

Comments  
Subject: Re: windows scripts
From: efn-ga on 16 Aug 2005 21:02 PDT
 
The answer is probably "no, it wouldn't be easy for you."  For a more
definitive answer, you should specify how smart you are, what you know
that may be relevant such as math or network administration, and how
much time you would be willing to spend on the task before you would
consider it not easy.
Subject: Re: windows scripts
From: shad2-ga on 22 Aug 2005 01:27 PDT
 
If you are handy with a scripting language you could examine the
output of a call to whatismyip.com:

     lynx --source whatismyip.com

The output to this call will contain the IP address.  You would just
have to parse the text returned to find it
Subject: Re: windows scripts
From: kimputer-ga on 26 Aug 2005 06:15 PDT
 
I see no other reason for this question than that you probably run
some kind of server which you want to reach, even if for some reason
you get a new IP assigned by your ISP.
In that case, the mailing part is not really important, just that your
PC is always reachable with a simple name, for instance
makenewname.is-a-geek.com or pcisreachableat.no-ip.com, which resolves
to this IP number. Take a look at http://www.dyndns.org or
http://www.no-ip.com, register for a free name, and then install a
tiny client running on the server, which communicates with the name
provider whenever a change happens, which will distribute it quite
quickly over all the world's DNS servers.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy