IT
posted by 구름너머 2011. 5. 24. 10:42

VANDYKE SecureCRT 세션의 설정파일위치:

시스템 : Windows7

C:\Users\[자신의컴퓨터이름]\AppData\Roaming\VanDyke\SecureCRT\Config\Sessions

<자동로그인 스크립트 만들기>

#$language = "VBScript"
#$interface = "1.0"

Sub main
' turn on synchronous mode so we don't miss any data
crt.Screen.Synchronous = True

' Wait for a string that looks like "login: " or "Login: "
crt.Screen.WaitForString "ogin: "

' Send your username followed by a carriage return
crt.Screen.Send "weblogic" & VbCr

' Wait for a tring that looks like "password: " or "Password: "
crt.Screen.WaitForString "assword:"

' Send your password followed by a carriage return
crt.Screen.Send "1104_bea" & VbCr

' turn off synchronous mode to restore normal input processing
crt.Screen.Synchronous = False
End Sub