Question:

How do I cahnge my IP with a batch file?

by  |  earlier

0 LIKES UnLike

I have a dynamic IP and I want to know if I can change it by just making a batch file and clicking on it every time I want a new one

 Tags:

   Report

3 ANSWERS


  1. You would put the command "ipconfig /release" followed by "ipconfig /renew" on separate lines without quotes into your batch file.  I recommend you first type  "ipconfig /?" at the command prompt to see how you can further make use of the command.

    Also note however that this isn't guaranteed to work.  This is because the dynamic IP is set by your Internet Service Provider.  So if you have a broadband modem/router, that will need to be rebooted, and you may have to be disconnected for a period of time before the ISP will renew your IP address.  Further caveat is that if you are on a static IP from your ISP, none of the above will work.  You'll have to attempt to use a proxy or call your ISP and request a new IP.


  2. yes. what u need to do  is.

    go note pad n then type ipconfig /renew and in a seprate file ipconfig / release .. two diffrent notepad files..

    n what u need to do. is u need to save them name them like renew.bat  n release.bat.

    save them.. everytime u wanna change it. u can just run release.bat command first n then renew.bat file.

  3. Technology-

    http://techhuger.com/

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions