how i can execute windows batch file from UNIX_AIX i install copssh ???
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
You can't run Windows Batch files on UNIX / AIX. If you mean that. If you want to trigger execution, installing openssh (from cygwin maybe) is a good idea. |
|||
|
|
Look out Samba client 'net rpc' commands. You can do lot of stuff regarding user management, shares, printers, etc. http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetCommand.html For instance:
I don't know if it's script friendly but you can always hack-it a little with expect. |
|||
|
|
|
Once you have CopSSH installed, you should be able to shell in and prefix any windows command with cmd /C
|
|||
|
|