简体   繁体   中英

Run a windows xp bat script remotely from a ubuntu machine

是否可以通过命令行从ubuntu计算机上远程运行Windows XP bat脚本?

This is possible if you have an ssh server running on the WinXP machine. It is trivial to set up such a server if you have installed Cygwin . This is well described here .

Then from an Ubuntu command line (or cron job) you run

ssh user@winxp command

Make sure your .bat has executable permissions.

I think that the technology you are after is WMI . I see that there is an ubuntu package called wmi-client, which you can sudo apt-get install and attempt to you. Some quick searches and I'm unable to find details, but maybe that will get you somewhere....

您可能会使用远程桌面之类的工具,如果这样做,它会起作用,但是您的问题不是很具体

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM