[SOLVED]TCP/IP and DNS Shourtcut
January 21st, 2020
I’m using a shourtcut to change my tcp/ip.
Now i need to how to change ip and DNS with one click. I found right commands for DNS but i don’t know how to combine it with ip changing command
for TCP/IP
netsh.exe interface ip set address name="Yerel Ağ Bağlantısı 2" static 192.168.1.53 255.255.255.0 192.168.1.1
for DNS
netsh interface ip set dns "Yerel Ağ Bağlantısı 2" static 192.168.0.1
These are my commands for tcp/ip and DNS but i couldn’t run them together even one by one. I tried to make a batch file but CMD couldn’t handle special characters like “”ğ”” (i bet you cannot see them too) Because i’m using Turkish win xp.
Special chars in Turkish
I’m waitng for your help. Thanks by now
just rename the connection to something that doesnt have special characters (eg, its english equivilant: “local area connection 2”
btw you do realize that this only changes your ip between your computer and your modem, not between your modem and your ISP
just rename the connection to something that doesnt have special characters (eg, its english equivilant: "local area connection 2"
btw you do realize that this only changes your ip between your computer and your modem, not between your modem and your ISP
Thank you. It’s working. I know this will only changes my ip between my computer and my modem.