just copy the below code and paste the script into notepad.
I can use netsh to change my entire IP address (IP address, subnet mask, and gateway gwmetric (as 1 in normal, [for secondary ip address for the same nic mentions as 2 in gwmetric ).
Script Beginning:
@echo off
echo "Setting Static IP Information"
netsh interface ip set address "Local Area Connection" static 192.168.0.111 255.255.0.0 192.168.0.1 1
netsh int ip show config
goto end
:end
end of script