you do that using netsh command from bat file. try finding the syntax in google and implement the logic in batch file
Hi,i need a bat file for changing IP address randomly ..Also should change in the ip range.For ex.now this is my setting..
Ip address : 192.168.1.2
subnet mask : 255.0.0.0
default gateway :192.168.1.1
preferred dns :125.22.47.125
alternate dns :202.56.250.5
Now i need a bat file which should change my ip address alone randomly in the range 192.168.1.2 to 192.168.1.100...I dont know its possible or not..but i need to do this how can i..thanks in advance..
you do that using netsh command from bat file. try finding the syntax in google and implement the logic in batch file
sets the IP address of the system configuration Local Area Connection to 192.168.0.10, the subnet mask to 255.255.255.0, and the gateway address to 192.168.0.254.netsh interface ip set address "Local Area Connection" static 192.168.0.10 255.255.255.0 192.168.0.254
mmm changing your local computer IP is not going to change the IP assigned to you by your ISP.eliminating rapdidshare waiting time
Sorry dudes..made a mess... You are right..just now figgured out the difference..Now i found how to reboot the my modem for getting my ip..Now last step guys pls help..This is the command i used to give in cmd prompt for rebooting modem.
telnet 192.168.1.1
pasword : (Now it asks for password )
set reboot
Done its working.But how to make batch file for this because the second line is password input.and this password is CONSTANT ...help guys..My thanks to all who replied..![]()
i want to restart my model automatically at night.so i need batch file so that i ll schedule it..
modem name : beetel 450tc1adsl2+ router....
this is the commands to do restart my modem..
telnet 192.168.1.1
Password : (it asks for password and now it should take it autoamtically from that batch file so that it continues with out asking for input)
set restart
now how to make this as batch file..important is that it doesnt wait for user input for password..help me guys..thanks..