Dude its working now.........Instead of WAIT "#" I put WAIT ""............
so nw d final script to reboot modem MTNL MT882 is............
192.168.1.1 23
WAIT "login"
SEND "root\m"
WAIT "Password"
SEND "admin\m"
WAIT ">"
SEND "shell\m"
WAIT "#"
SEND "reboot\m"
WAIT ""
Thanks a lot ......superprash2003 and cyberwiz......for ur help...........:thumb:
n btw when the modem reboots the cmd window remains der only......so hw can i make tat window disappear after it does its work?
is der any way to close cmd by script or else i wud use powershutdown utlity........to close program on tym...........:yahoo:this program ha 17 diff commands....a must hav product........:thumbsup:
so nw d final script to reboot modem MTNL MT882 is............
192.168.1.1 23
WAIT "login"
SEND "root\m"
WAIT "Password"
SEND "admin\m"
WAIT ">"
SEND "shell\m"
WAIT "#"
SEND "reboot\m"
WAIT ""
Thanks a lot ......superprash2003 and cyberwiz......for ur help...........:thumb:
n btw when the modem reboots the cmd window remains der only......so hw can i make tat window disappear after it does its work?
is der any way to close cmd by script or else i wud use powershutdown utlity........to close program on tym...........:yahoo:this program ha 17 diff commands....a must hav product........:thumbsup: