#--- 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

.int0   Env(SESSIONNAME, #)
.int0   +6400

.exec "C:\PROGRAM FILES\FOURJS\GDC\BIN\GDC.EXE -M -p [int0]"

:RETRY

.loginwindow c:\vtcp\tiptop.bmp as: assword: FGLGUI=0 1

.timeout TIMEOUT

.goto SUCCESS


:TIMEOUT
.loop RETRY

.cmd
close


:SUCCESS
.kill NTVDM.EXE " " nopath
.terminal
.kill "C:\PROGRAM FILES\FOURJS\GDC\BIN\GDC.EXE" notel

