home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1998 March
/
VPR9803A.ISO
/
OLS
/
Windows
/
TTERMP22
/
login.tt_
/
login.tt
Wrap
Text File
|
1997-06-30
|
446b
|
22 lines
; Sample macro for Tera Term
; Telnet login
; open Tera Term
; command line = 'TERATERM myhost.mydomain' (telnet)
connect 'myhost.mydomain'
; set username
UsernamePrompt = 'Username:'
Username = 'MYNAME'
PasswordPrompt = 'Password:'
; get password from file
getpassword 'password.dat' 'mypassword' Password
; login
wait UsernamePrompt
sendln Username
wait PasswordPrompt
sendln Password
; OK, auto login complete.