hello mr boris, hello everybody !!
Well, as far as I have checked until now, the script works ok now !
There is only one problem left, only at least this is what is bothering me now !
I want the script to create log files for both the IP addresses that are reachable or not reachable.
It would be usefull for the follwing command to work :
"filewriteln 'e:\bytton\log_ok.txt' line " or something like this.
I need to have at the end of my tests to files (log files) that would have the follwing composition :
Clock/date "@ IP reachable : (this would be a text written by me)" 'the ip address that tera term connected and did the job '. So 3 things :
2. a text written by me, followed by :
3. the IP address that tera term connected OR NOT
As I said, I need two log files. I believe I would put the lines in the 'if' and 'elseif' branches of the script. I want to mention that I tried with logopen and filewrite commands but it doesn't do the job.
Any help ?