View Single Post
  #12  
Old 08-28-2008, 05:57 PM
jjh jjh is offline
VanDyke Customer Support
 
Join Date: Feb 2004
Posts: 815
Hi Darkoth.

Along the lines of what Wes said, you might want to change
his first line to be slightly more robust to deal with empty
lines or lines that include your prompt. Something like the
following:

If instr(szHost, "$>") = 0 and trim(szHost) <> "" then

Does that help?

Thanks

JJH
Reply With Quote