I need to create a BAT file to run the application via telnet, but as far as I know, in DOS there is no way to do this. Telnet does not allow sending any command to the remote computer at the very moment of connection, and each subsequent command in the BAT file will be executed only after telnet is stopped. This hypothetical piece of code illustrates what I want to do:
telnet 100.99.98.1 "C:\Application\app.exe -a -b -c"
And this will launch app.exe on machine 100.99.98.1 with three parameters. Despite my efforts, nothing came of it. Is there any way to do this?
Tks
Pedrin Batista
source
share