DisasterMaster
Technical User
Does anyone know if it is possible to write a simple script with PuTTy that will login to a cs1000, access LD 20 and print some stuff,capture the stuff to a file and then logout?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
#$language = "VBScript"
#$interface = "1.0"
crt.Screen.Synchronous = True
' This automatically generated script may need to be
' edited in order to work correctly.
Sub Main
crt.Screen.WaitForString ">"
crt.Screen.Send "ld 60" & chr(13)
crt.Screen.WaitForString "."
crt.Screen.Send "stat" & chr(13)
crt.Screen.WaitForString "."
crt.Screen.Send "****" & chr(13)
crt.Screen.WaitForString ">"
crt.Screen.Send "logo" & chr(13)
End Sub