how to setup a static IP adderss for your computer with cmd
Create file .bat with content:
cd c:\\Windows\system32
netsh interface ip set address name="Wi-Fi" static 172.16.0.213 255.255.0.0 172.16.0.1
netsh interface ip set dns name="Wi-Fi" static 8.8.8.8
netsh interface ip add dns name="Wi-Fi" 208.67.222.222 index=2
pause
cd c:\\Windows\system32
netsh interface ip set address name="Wi-Fi" static 172.16.0.213 255.255.0.0 172.16.0.1
netsh interface ip set dns name="Wi-Fi" static 8.8.8.8
netsh interface ip add dns name="Wi-Fi" 208.67.222.222 index=2
pause
Post a Comment