Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: rdrovdahl
Forum: Scripting 05-10-2013, 01:28 PM
Replies: 4
Views: 8,541
Posted By rdrovdahl
Solved

Found the solution using the strip command and all is working perfectly now.

strPrompt = currentdevice.strip() + "#"

This stripped off the carriage return from the 'currentdevice' variable...
Forum: Scripting 05-10-2013, 01:10 PM
Replies: 4
Views: 8,541
Posted By rdrovdahl
Thanks for the reply! Great to know that...

Thanks for the reply!

Great to know that variables can be used with these commands. I took your suggestion and made a new variable named strPrompt as follows:

strPrompt = currentdevice + "#"
...
Forum: Scripting 05-10-2013, 11:15 AM
Replies: 4
Views: 8,541
Posted By rdrovdahl
Anyway to use variables in ReadString or WaitForString?

I've set up a function that logs into Cisco devices supplied via text file and runs commands also supplied from a txt file.

I need to capture all the outputs from the commands being run to a log...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -6. The time now is 06:34 PM.