#--- telnetw hidden
.window minimize

#--- batch file parsing window hidden
.status off

#--- if telnetw is disconnect, auto close telnetw window
.autoclose

#--- set timer 30 sec
.set timer 30

#--- set retry count 3
.set count 3

.dump
.echo on

.exec C:\I4GLSRV\BIN\STARTWTK.EXE

:RETRY

#.loginwindow nobackground login: assword: FGLGUI=0
#.loginwindow c:\vtcp\tiptop.bmp login: assword: FGLGUI=0
.loginwindow c:\vtcp\tiptop.bmp login: assword: "SCO OpenServer"

.timeout TIMEOUT

.goto SUCCESS


:TIMEOUT
.loop RETRY

.cmd
close


:SUCCESS
.terminal
.kill C:\I4GLSRV\BIN\WTK.EXE notel
