hi i have wa3002g4 modem and i want to batch(prefered) file which would restart the modem or any exe file which would do the same.
im gonna schedule to run the batch file to run when the system shuts down.
i have a batch file which has the following code
192.168.1.1 23
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "\madmin\m"
WAIT "Login:"
SEND "admin\m"
WAIT "Password:"
SEND "admin\m"
WAIT
SEND "reboot\m"
WAIT "-> "
SEND "reboot\m"
WAIT
this code restarts the modem but doesnt close the window after it restarts the modem the screen shot is here
ww.wikihow.com/images/9/9c/Aditya_goel_487.jpg [add an extra w]
so when the windows is trying shuts down the window is open and when i press enter the windows goes away and then the window shuts if not it waits for the command as shown in the screen shot.i have used quit and exit statement in the code.
so if u could pl help me wid the script to get working or any other sript which solves ma problem would help .



LinkBack URL
About LinkBacks
Reply With Quote