Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

Execute batch file on remote server. How?

Status
Not open for further replies.

mjjks

Programmer
Jun 22, 2005
138
US

I have a VB 6 DLL that does bunch of things.
Now I need to add functionality to execute a batch file on a server. VB 6 cannot execute command/batch files if they're not on the same machine.

This feature is important, so I was thinking to try and rewrite component in .Net as I know a little bit and probably could tweak a sample code.

Anyone can advise me if that can be done fairly easily or it might involve some deep learning?

Maybe code sample or links? Thanks much.
 

I solved it in C# and can post code if someone needs it.
 
Hey is that possible if you can post that code in C# because i m looking for something like this. Thanks. All help will be appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top