开发者

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

开发者 https://www.devze.com 2023-01-18 18:00 出处:网络
Ho开发者_JAVA技巧w can I execute windows batch files from UNIX-AIX, where I installed copssh?Does this work? From the Unix box:

Ho开发者_JAVA技巧w can I execute windows batch files from UNIX-AIX, where I installed copssh?


Does this work? From the Unix box:

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


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.


The best way will be translating it into bash.


Check out winexe.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号