View Single Post
  #18  
Old 08-13-2014, 03:09 PM
hvh2000 hvh2000 is offline
Registered User
 
Join Date: Jul 2014
Posts: 4
host prompt changes

Hi Todd,
I ran into a bit of a problem with the vbscript version. I am issuing commands to a (cisco) device, and the script stops when I issue "config term", because the prompt changes from hostname# to hostname(config)#.

How do I modify the script to continue executing commands when the prompt changes from # to config)#?

Adding the current version I'm working with. I added cases for when I need to elevate privileges on a device to be able to work with it. Let me know if I need to clarify anything further.
Reply With Quote