Quote:
Originally Posted by Alan Anderson
Simpler yet:
...
|
Aha! I knew there had to be an easier way!
I've made a batch file to perform the same task, with some improvements: after setting the IP address, you will be prompted for another team number and your old settings will be restored once you are finished.
Unfortunately it restores settings for all your network interfaces, not just the changed one. This takes quite a while for me (and my four network interfaces), but it will likely not take as long for others.
NOTE: Do *not* quit the batch file (by entering 0 as the team number) until you are ready to restore your settings. Also, if you quit using ctrl-c, the batch file will not restore your old settings if you run it again - It restores the settings from when the batch file was started.
EDIT: another note - don't delete ifcfg.txt while the batch file is running - it will be deleted after the batch file is exited normally (by entering 0 as the team number).
Team # to IP script [Windows batch]:
http://goatsgomoo.arksaw.com/project...p/teamtoip.bat
Thanks for your help, Alan!