Answer the question
In order to leave comments, you need to log in
How to add additional IP address in bat file, Windows?
There is such a batch file:
chcp 1251
netsh interface ip set address "Подключение по локальной сети" static 192.168.1.2 255.255.255.0 192.168.1.2 1
netsh interface ip set dns "Подключение по локальной сети" static 8.8.8.8 primary
netsh interface ip add dns "Подключение по локальной сети" 8.8.4.4 index=2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question