@echo off ;%%Telenet Network
@if "%HostName%"==""
@   echo "\r\n** Error(telenet.scn): Host Name must be set in Options/Script Settings... dialog box.
<
@endif

@wait 3
@send "o"
@if not @wait ":" 10
@    send "o\n"
@    if not @wait ":" 10
@      echo "\r\n** Error(telenet.scn): Telenet connect prompt not received\r\n"
<
@    endif
@
@endif
@send "%HostName%\r"
@wait "\n" 3
