madhuri Gamane

madhuri Gamane

  • NA
  • 105
  • 32k

change ip address from batch file

Jun 29 2015 8:05 AM
these are commands i am using to change IP Address
 
@echo off
netsh interface ipv4 set address name="Local Area Connection" source=static addr=xxx.xxx.xx.xxx mask=255.255.255.0 gateway=xxx.xxx.xx.x
PAUSE
 
it works for local machine. But i want to change IP address of client machine from server machine, on windows startup.. 
what will be the command for that, any suggestion ?? 
 

Answers (1)