【问题标题】:Remote shutdown of client system using Java使用 Java 远程关闭客户端系统
【发布时间】:2018-04-05 13:09:08
【问题描述】:

如何从服务器端远程关闭客户端系统? 另外,我如何在客户端/s 命令提示符下运行任何命令? 如何从服务器端将代码行发送到客户端? 我之前使用 ArrayList 在客户端发送消息。

【问题讨论】:

    标签: java sockets serversocket


    【解决方案1】:

    我猜这就是你要找的东西:

    Shutting down a computer

    已经被问到这里了 :)

    要远程关闭计算机,请使用:

    shutdown /s /m <Computer_Name>
    

    该帖子的链接:Shutdown Remote Computer in Java- Cannot initiate shutdown but no errors

    【讨论】:

    • 先生,我知道如何使用它关闭我自己的系统。但我想远程关闭客户端系统。还有关于我的第二个问题
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-04-15
    • 1970-01-01
    • 1970-01-01
    • 2012-03-31
    • 2010-10-18
    相关资源
    最近更新 更多