Results 1 to 2 of 2

Thread: Help pl !!!!! I really need it !!!

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Liked
    0 times
    Posts
    5

    Default Help pl !!!!! I really need it !!!

    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 .

  2. #2
    Platinum Member
    Join Date
    Aug 2009
    Liked
    0 times
    Posts
    8,555
    Last edited by meetdilip; 12-10-09 at 07:10 AM. Reason: Automerged Doublepost

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)