View Single Post
  #1  
Old 02-14-2012, 09:11 AM
aladdin aladdin is offline
Senior Member
 
Join Date: Sep 2008
Posts: 66
Default I want to create a TCP/IP Batch file

Hello everybody !!!

I need to create a batch file where I can change my TCP/IP settings, i.e., IP addresses.

When I run that batch file it should ask in the following order one by one:

1. IP Address
2. Subnet Mask
3. Default gateway
4. Preferred DNS
5. Alternate DNS

My OS is WinXP SP3

I read the following thread but it couldn't solve my problem.

http://forums.techarena.in/software-...nt/1130548.htm

I want to ask that when I copied the commands in notepad from the above link and ran the batch file then it asks LAN name. But I tried almost all names like Local Area Connection or LAN but it said "Local Area Connection, Lan" is wrongly specified or something like this. I want to know the name of LAN command.

So I want a batch file and also the name of LAN which I should enter during running of batch file.

Please someone help me.

my email: aladdin2006@ymail.com

Thanks.
Reply With Quote