Well i figure that if i do a temp. batch file for a small project heres the batch script.
IPAddy would = a number xx.xx also how to execute from a button and run as admin at the same time.
@echo off
netsh interface ipv4 set address "local Area Connection" static 10.IPAddy.2