Go to Post Don't let Dean's homework assignment enter into the equation; his homework is about spreading his organization and has nothing to do with you doing what you want to do. - jonathan lall [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #1   Spotlight this post!  
Unread 16-02-2012, 10:17
Folders's Avatar
Folders Folders is offline
Registered User
AKA: Emmanuel
FRC #1671 (Birdbrains)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Clovis
Posts: 8
Folders is an unknown quantity at this point
Auto IP Batchfile

It's kinda late in the build season, but I wanted to share this anyway

To switch to regular internet.
Code:
ECHO This fanciness is brought to you by Folders!
ECHO You may have to change the text in "Wireless Network Connection"

ECHO Resetting IP Address and Subnet Mask For DHCP
netsh int ip set address name = "Wireless Network Connection" source = dhcp

netsh int ip show config

pause
To switch to Robot.

Code:
ECHO This fanciness is brought to you by Folders!
ECHO You may have to change the text in "Wireless Network Connection"

set varip=10.16.71.30
set varsm=255.255.255.0

REM For the most up-to-date-info, visit http://samanathon.com/set-your-ip-address-via-batch-file/

ECHO Setting IP Address and Subnet Mask
netsh int ip set address name = "Wireless Network Connection" source = static addr = %varip% mask = %varsm%

netsh int ip show config

pause
__________________
Emmanuel A.K.A. Folders
Email: Iameman9669@gmail.com
 


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


All times are GMT -5. The time now is 21:03.

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