The RiScriptlet interface listens on port 9090, so first use any telnet app to open a connection to port 9090.
1) To run a script, type "run scriptpath" where scriptpath is the path of the script file relative to the trunk\ri\RI_Stack\bin\CableLabs\simulator\Win32\debug\env\qa\xlet directory. The run command will return after the script has been started, but not necessarily after it has been finished. The run command will return a scriptID which is a unique ID for that script-run. If desired, multiple scripts can be run simultaneously by issuing multiple run commands.
2) When a script completes, the telnet interface will send a string: "Script scriptName (ID = scriptID) completed with result: ...", where scriptName and scriptID are the name and ID of your script respectively.
3) To get the status of all scripts, type "status all". This will return a list of the scriptIDs and their current state: (RUNNING, COMPLETE, ERROR).
4) To get the status of a particular script, type "status scriptID" where scriptID is the ID of the script-run returned from the run command. This will return the current state of the script: (RUNNING, COMPLETE, ERROR).
5) To close the telnet session, just type "quit".