Help in making an automized file

Status
Not open for further replies.
R

rahul_becks23

Guest
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
R

rahul_becks23

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