Help in making an automized file

Status
Not open for further replies.
Hi guys ,
I wanna make a BAT file that would do this .........

1.> In the TCP/IP Properties of my LAN connection , change my General settings to -
Obtain an IP address automatically and
Obtain DNS server address automatically .

2.> And I also wanna make a BAT file that would -
Restore my previous TCP\IP settings .

If anybody can help me , then plzzzzzz.... help me.

Thanks anyway .
 

..:: Free Radical ::..

The Transcendental
i hope this is what you need.

Code:
@echo off
@color F0
title Refresh IP
ipconfig /all
ipconfig /flushdns
ipconfig /registerdns
ipconfig /setclassid
ipconfig /release
ipconfig /renew

Dunno whether u can rest restore previous TCP/IP settings
 
OP
rahul_becks23

rahul_becks23

Padawan
i'll try that
and how can we change the values using a bat file........ ????
__________
nope , didnt work ...............
anybody got another solution ................
 
Last edited:
Status
Not open for further replies.
Top Bottom