Hello guys, here is an another post for Changing IP via BATCH.
I think that u read my previous post on that matter.
I use windows 2000 then set :
-----------------
@echo off---------------------
netsh interface ip set address name="Local Area Connection" static 172.28.13.7 255.255.255.224 172.28.13.30
ipconfig
pause
the ip configuration become :
IP Address : 172.28.13.7
Netmask : 255.255.255.224
Gateway : 172.28.13.30
then running the different script :
@echo offthe ip configuration become :
netsh interface ip set address name="Local Area Connection" static 172.28.13.92 255.255.255.240
ipconfig
pause
IP Address : 172.28.13.92
Netmask : 255.255.255.240
Gateway : 172.28.13.30
the Gateway still unchange..
I want no gateway for this :D
Any solution?
0 comments:
Post a Comment