LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   Running Windows batch script from Unix (https://www.linuxquestions.org/questions/aix-43/running-windows-batch-script-from-unix-578967/)

rrguyyala 08-22-2007 11:55 AM

Running Windows batch script from Unix
 
Hi All,

I have a requirement to trigger Windows batch script from Unix. Can some body help me out in doing this?

Thanks
Ravi

tjyorkshire 08-22-2007 12:08 PM

i'm guessing these are two different networked machines?

rrguyyala 08-23-2007 10:00 AM

Yes These are tow different network Machines

jiml8 08-23-2007 06:30 PM

Install cygwin on the Windows box. That will give you a *nix environment on the Windows machine that you can easily use to accomplish the level of integration you need - including the capability to kick off Windows scripts from *nix scripts.

ghostdog74 08-26-2007 08:43 AM

you can turn on terminal services on Windows. Or you can install SSH and set up public keys for both your machines.
Then on the Unix machine, you can use programming languages like Perl/Python (or others) that support the telnet protocol to code an automated telnet script to run the batch, or you just simple use the command line ssh tool to connect to the Windows server to run the batch...


All times are GMT -5. The time now is 12:29 AM.