View Single Post
  #1  
Old 11-24-2020, 09:03 AM
mohenoun mohenoun is offline
Registered User
 
Join Date: Nov 2020
Posts: 21
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
Reply With Quote