Sent: Saturday, September 11, 2004 7:36 PM
Subject: Re: Changing TCP/IP settings with script
Hi! Gerhard,
You can use Netshell command (netsh) for your purpose.
Here is how it works.
Scenario:
Firstly, you dump your network setting to a text file as follows:
netsh -c interface dump > NetworkSetsNo1.txt
This command stores your current network settings in txt file named NetworkSetsNo1.txt
2ndly, you have to reconfigure your pc's network settings to use a different part of the network or else.
then , again:
netsh -c interface dump > NetworkSetsNo2.txt
3rdly, you can make as many Network Settings as you want for your future use or restore the settings.
Then later, if you need to reset your previous pc's Network Sets( say for example, first one....),
just give next command ( supposing that you restore first one...);
netsh -f NetworkSetsNo1.txt
As far as script is concerned, you can do it by this scenario!
***
Not script but you can use netswitcher:
http://www.netswitcher.com/downloads.htm
Good Luck!