You can see the difference between running telnet via cmd and running via script.
Via DOS telnet works normally but with the script it hangs after the display of the first line.
Search found 7 matches
- 29 May 2020 05:58
- Forum: DOS Batch Forum
- Topic: Telnet Scripting Tool v.1.0 by Albert Yale
- Replies: 11
- Views: 14082
- 29 May 2020 05:55
- Forum: DOS Batch Forum
- Topic: Telnet Scripting Tool v.1.0 by Albert Yale
- Replies: 11
- Views: 14082
Re: Telnet Scripting Tool v.1.0 by Albert Yale
This script excute one line
- 28 May 2020 13:24
- Forum: DOS Batch Forum
- Topic: Telnet Scripting Tool v.1.0 by Albert Yale
- Replies: 11
- Views: 14082
Re: Telnet Scripting Tool v.1.0 by Albert Yale
I had tested the script by following your comments
It works but our script accesses a database, it takes a delay to retrieve the data before waiting for the next character string to meet.
I await your answers.
It works but our script accesses a database, it takes a delay to retrieve the data before waiting for the next character string to meet.
I await your answers.
- 28 May 2020 12:31
- Forum: DOS Batch Forum
- Topic: Run bat script by remote machine
- Replies: 0
- Views: 19652
Run bat script by remote machine
I want a solution to run a script. Bat, telnet link which is allowed except locally, by another remote machine via Web interface or other solution.
Thank you
Thank you
- 28 May 2020 05:27
- Forum: DOS Batch Forum
- Topic: Telnet Scripting Tool v.1.0 by Albert Yale
- Replies: 11
- Views: 14082
Re: Telnet Scripting Tool v.1.0 by Albert Yale
Red Hat Linux release 8.0 (Psyche) Kernel 2.4.18-14 on an i686 login: station Password: Last login: Tue Jun 2 11:05:18 from 192.168.x.x ************************* * SYSTEME * ************************* Heure UTC : 11:08 1. Emission des messages 2. Acces a la base de donnees 3. Fin de session Entrer le...
- 27 May 2020 17:10
- Forum: DOS Batch Forum
- Topic: Telnet Scripting Tool v.1.0 by Albert Yale
- Replies: 11
- Views: 14082
Re: Telnet Scripting Tool v.1.0 by Albert Yale
file named as script.txt
Adress
WAIT "500"
SEND "login\m"
WAIT "500"
SEND "password\m"
WAIT "500"
SEND "2\m"
WAIT "500"
SEND "SNTS//\m"
WAIT "500"
SEND "b\m"
WAIT "500"
SEND "3\m"
When execute tst10.exe /r:script.txt /o:output.txt /m
the script demand LOGIN
Adress
WAIT "500"
SEND "login\m"
WAIT "500"
SEND "password\m"
WAIT "500"
SEND "2\m"
WAIT "500"
SEND "SNTS//\m"
WAIT "500"
SEND "b\m"
WAIT "500"
SEND "3\m"
When execute tst10.exe /r:script.txt /o:output.txt /m
the script demand LOGIN
- 27 May 2020 13:40
- Forum: DOS Batch Forum
- Topic: Telnet Scripting Tool v.1.0 by Albert Yale
- Replies: 11
- Views: 14082
Telnet Scripting Tool v.1.0 by Albert Yale
Example to use Telnet Scripting Tool v.1.0 by Albert Yale I have use use vbs file to connect using Telnet. set WshShell = WScript.CreateObject("WScript.Shell") 'Se connecter au Routeur via son IP 'Ajouter un délai de 0.5 secondes en utilisant le paramètre Sleep 500 après chaque commande WshShell.Run...