Please help to prepare batch script on DOS.
This script should run in following manner :
- Telent the IP and use the existing passwd (explicitly given in the script).
- After the telnet, it shows MENU options
- MB station
- RC
- ODU
- AP
- SU
- Exit
type 1 // a “MB station” MENU options will open i.e.
1 – Show
2 – Unit Control
type 2 // UC MENU options will open i.e
1 – Change Password
2 – Reset
type 1 //change passwd MENU options will open i.e.
1 – Change PC Password
2 – Change LU Password
3 – Change Admin Password
type 3 // to change ADMIN passwd
MB station – Change Admin Password
Enter New Password : XYZ enter
Re-enter Password : XYZ enter
New password accepted
3 times escape // to escape from telnet
1.MB station
2. RC
3. ODU
4. AP
5. SU
6. Exit
type 6 // to exit
Exit? [Y/N] y
Connection to host lost.
then move to step with different IP. The IP values will be given by the user one-time while executing the script at the prompt e.g. ./pass-change IPs.txt
start with this :