PASSPORT Knowledge Base
Macros

Date Published: December 11, 2008
Date Updated: March 20, 2009

Title

Problem Sending Redirect Symbol with SendHostKeys

Product

PASSPORT PC to Host, PASSPORT Web to Host

Emulation Types

SCO ANSI

Issue

I am unable to send the redirect > symbol with the SendHostKeys command (“devices all > jlm”).  I am receiving an error message, “Error: An invalid string was passed to SendHostKeys”.  How can I resolve this?

Solution

With SCO ANSI emulation, the correct syntax to use is:
 

Sub ZMain()

SendHostKeys ("devices all >> jlm ")

End Sub

More Information

Keywords

send, sending, >, redirect, symbol, SendHostKeys, error, message