how i can execute windows batch file from UNIX-AIX?

╄→гoц情女王★ 提交于 2019-12-24 10:38:32

问题


How can I execute windows batch files from UNIX-AIX, where I installed copssh?


回答1:


Does this work? From the Unix box:

$ rsh -l user_name windows_host_name "C:\scan.bat"



回答2:


You can't unless it's very basic, i.e. it doesn't call any Windows specific programs, in which case you're probably better off transcoding it to bash or similar.




回答3:


The best way will be translating it into bash.




回答4:


Check out winexe.



来源:https://stackoverflow.com/questions/3830966/how-i-can-execute-windows-batch-file-from-unix-aix

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!