Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Dynamic ip .bat changer  (Read 4497 times)

0 Members and 1 Guest are viewing this topic.


  • Guest
Dynamic ip .bat changer
« on: March 02, 2007, 09:24:13 AM »
I would like to put together a .bat file for a Americas Army Server thatís can be used for all users that have a dynamic ip,

Details: There is a txt file called server.ini, in this file on of one of the lines is this statement ip= or what ever your outside ip is this has to be changed each time you outside isp changes the ip. And this is painful.

So what I was trying to do was a bat that  could ping your host name (dyndns) linked to you ip then it would check this against the ip in the .ini file and update if different if different then reboot the bat file that runs the server I guess defiantly possible.

Any ideas anyone on how we could do this