mjs84
Aerospace
- Aug 20, 2003
- 27
Hello all,
I need to execute a Unix script from VB. Manually, I would open a shell using the dos 'cmd' command, and telnet to my unix site, then run the unix command. The problem with doing this programmatically is unlike it's ftp cousin, which has a -s parameter that allows you to use a text file containing all ftp commands, telnet does not offer this parameter.
Question 1. Can I use Telnet to do this, if so, how?
Question 2. Is there a better way to do this from a Win2000 machine?
Thanks in advance,
mjs84
I need to execute a Unix script from VB. Manually, I would open a shell using the dos 'cmd' command, and telnet to my unix site, then run the unix command. The problem with doing this programmatically is unlike it's ftp cousin, which has a -s parameter that allows you to use a text file containing all ftp commands, telnet does not offer this parameter.
Question 1. Can I use Telnet to do this, if so, how?
Question 2. Is there a better way to do this from a Win2000 machine?
Thanks in advance,
mjs84