Is it possible to use a Unix script on a remote server that has Unix installed to call call/run Windows program.

link|improve this question
2  
Please can you elaborate on what you are trying to achieve here and what your situation and setup is? – Andy Bowskill Mar 14 '11 at 12:34
feedback

migrated from stackoverflow.com Mar 14 '11 at 12:38

This question came from our site for professional and enthusiast programmers.

closed as not a real question by ChrisF, studiohack Mar 14 '11 at 20:14

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.

2 Answers

There are a number of ways this could be achieved.

If the Windows software you are wanting to run can be executed from the command line and perform all the functions you want by the use of command line switches then you could install and configure an SSH server on the windows machine then use SSH to connect from the Unix machine and execute the command on the Windows machine.

Otherwise you would have to investigate various options involving non-standard protocols and automation scripting using propriatory systems.

The SSH route is the way I would choose personally if possible.

link|improve this answer
feedback

You're looking for winexe. I've used it to communicate to a Windows VM from a Linux host effectively.

link|improve this answer
feedback