Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Execute a Unix command from VB

Status
Not open for further replies.

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
 
Replies continue below

Recommended for you

I have a similar problem, i need to change the permisions of some files shared in a unix computer so i can read them. The files are generated by the ERP Baan and stored in a shared folder in a unix computer in the network. The files are generated with Read and Write permisions, but i can't open those files from windows. i have a user with all the permisions in the shared folder, but in windows, if i don't have the execute permision, i cannot open a file, so is there a way to execute a unix command from visual basic? or is there another way to change the permisions over a folder in a unix machine from visual basic?

thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor