|
![]() |
|
Thread Tools | Rate Thread | Display Modes |
#1
|
|||
|
|||
Sending exit but on the prompt on some equipments it show "xit"
Hello,
I'm facing a strange issue. I'm using this combined to a script I made. And it works fine, but for some equipments in my list, it sends "xit" instead of "exit"* Is there a way to fix that? I'm using this on Cisco routers/switches. Kind regards, crt.Screen.Send "show run" & vbcr crt.Screen.WaitForString " --More-- " crt.Screen.Send " " crt.Screen.WaitForString " --More-- " crt.Screen.Send " " crt.Screen.WaitForString " --More-- " crt.Screen.Send " " crt.Screen.Send vbcr crt.Screen.Send "exit" & vbcr |
#2
|
|||
|
|||
Hi mohenoun,
Do you have a crt.Screen.Synchronous = True statement in the script? At the end, you have three Send() calls without any intervening WaitForString(). I believe we covered how it is a best practice to do so in this other forum thread we have together.
__________________
Thanks, --Brenda VanDyke Software Technical Support support@vandyke.com (505) 332-5730 |
#3
|
|||
|
|||
Synchronous activated
Quote:
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|