View Single Post
Old 09-30-2008, 12:23 PM
tnygren's Avatar
tnygren tnygren is offline
Registered User
Join Date: May 2005
Posts: 1,408
Hi Djudd,

Have you considered using the built in VBScript function of 'instr' to check to see if "grep" exits in the "str" variable?

The send of the string and the wait for the prompt could be placed in an if statement and only sent if the string does not contain "grep".

Would this be an option?


Teresa Nygren
Reply With Quote