View Single Post
Old 04-06-2018, 08:51 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,548
Hi SchwabenGeiz,

So that is this line:
            objTab.Screen.WaitForString("Current configuration : ")
When you do this manually, after running the command show running-config all, what do the last lines of output look like?

That's what you will want to change the WaitForString() to.

The line following is used to mark the end of info that is not written to the file:
            nBytes = objTab.Screen.ReadString(" bytes\r\n")
If, because you are showing all the configs, you want to capture everything to the file from the time you run the show command until the resulting output is done, then you might just comment out that entire block from line 269 to 278.

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote