Go to Post Test your code and your assumptions. - ShotgunNinja [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 13-03-2009, 11:51
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Simple Team Number to IP Address Utility

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.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Team 229's Address Lord Xaphan General Forum 4 18-03-2007 02:08
.mov or .swf to .DV utility? Ian Curtis Chit-Chat 2 27-05-2006 16:54
Looking for a good file utility RIgnazio IT / Communications 1 20-10-2005 19:06
Mailing Address for Team 271 BobC General Forum 5 21-03-2005 20:35


All times are GMT -5. The time now is 15:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi