Currently use Netsh command at DOS.

Step 1 run "Netsh interface ip show config"

which will return the current IP address then run

"netsh interface ip set address "Local Area Connection" static {ipaddr} {subnetmask} {gateway} {metric}"

Example netsh interface ip set address "Local Area Connection" static 10.10.2.42 255.255.255.0 10.10.2.1 1