1.

Solve : Release/Renew batch file?

Answer»

I am looking for a batch file to REFRESH my high speed internet connection by using the ipconfig/release-renew dos commands. I WOULD like a shortcut on my DESKTOP (WinXP) to run this program.

Here's an example ip.bat:
ipconfig /release
ipconfig /renew
pause

Any advice appreciated.
Thanks



What, specifically, are you trying to do?I asked this question on another forum.

With XP/Dos command.. I switch between wired and wireless network connection. What is the dos command that will reset and recognize my network connection without restarting my computer?

Follow this link for the response to this question.

http://malektips.com/2000wd0016.html

I would like to create the batch file mentioned in the response.

Thanks.

If you have only one ADAPTER then the /release and /renew switches are OK. With more than one adapter, those switches need to know which adapter to release and renew. You can use /release_all and renew_all, which will release and renew all of the adapters. This might cause a problem if one of the adapters does not find a DHCP server. You can simplify things a BIT by downloading a MS utility called wntipcfg from Microsoft. It works like the winipcfg utility in W98. After you have it installed you can place a shortcut to it on the desktop. With a few mouse clicks - presto chango - a single adapter or all adapters.Thank you for the direction, greatly appreciated.



Discussion

No Comment Found