.NETJiNi@jigneshdesai.com  
  Home |  .NET<1.0 to 3.5> Forums Blogs |  Other Technologies Skip Navigation Links  | Quiz Contest   dotnetJini Training |   Software Development 
 
Configuring Network using VBS script
Saturday, 08-July-2006
When you carry your laptop from place to place you might need to switch between networks.   Reconfigure IP and Subnet mask to connect to your Client network every day might be boring.  To speed up and make the process easy, you can create a batch file for each of your client. 

Eg: Create a file "Client3NetWork.vbs" in notepad and add the following entries.  

netsh int ip set address name="Local Area Connection" source=static addr=200.200.200.200 mask=255.255.255.0
netsh int ip set address name="Local Area Connection" source=static gateway=200.200.156.50 gwmetric=1
netsh int ip set dns name="Local Area Connection" source=static addr=200.122.208.11

Simple isn't it .









   







Chat Online
 








Add URL | About ME Privacy Policy | Legal Disclaimer

Copyright (C) 2004 -2008 JigneshDesai.com. All rights reserved