View Single Post
  #1  
Old 04-03-2013, 08:56 AM
hakelo91 hakelo91 is offline
Registered User
 
Join Date: Mar 2013
Posts: 13
Error connection logged in txt file

Hi All,
in reference to the part of the following script:

Code:
...I have a lot of ip address and I must telnet everything.....(the script with the cycle of connection works)

				For Each strHost In THost 
 				If strHost = "" Then Exit For
 					On Error Resume next
					If crt.Session.Connected Then
       	 		Do 
      			crt.Session.Disconnect
          	Loop While crt.Session.Connected
          end if
How can I have a txt file with the name(or the ip) of the device that fails the connection? Is it possible?

Thank you!
Reply With Quote