Simpler yet:
Code:
set /p teamnum=What is the team number?
set /a teamnumhigh=%teamnum%/100
set /a teamnumlow=%teamnum%-100*%high%
netsh interface ip set address 10.%high%.%low%.6 static 255.255.255.0 1
Put it in a batch file (e.g.
teamip.bat) on your desktop, double-click, and enter the team number when prompted.
The
netsh command is powerful. You can make single-line batch files to reconfigure the computer to talk to the Axis camera, or to make it easy to switch between 10.0.0.6/255.0.0.0 (which will let the computer talk to any team's WGA) and the WGA's factory default address.