1.

Solve : connecting/disconnecting local internet connection from .bat?

Answer»

Hi, new poster. nice place you have here .

As the title says.

(In ORDER to speed up a certain APPLICATION i need to disconnect, renew ip ( this PART i GOT covered in a .bat ) and reconnect again. Right now i do it manually i would like to make it as automatic as possible).

I have XP SP2 on an amd machine with kaspersky av 6. connection is cable broadband (modem).

So...

Can it be done ?



edit :

would something like this will work?

@echo off
rasdial "YouDialUpConnectionName" /disconnect
echo ipconfig /flushdns
ipconfig /flushdns
echo ipconfig /release
ipconfig /release
echo ipconfig /renew
ipconfig /renew
rasdial "YouDialUpConnectionName" "Login" "PASSWORD"
exit



Discussion

No Comment Found