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.