使用Java处理Windows系统 [英] handling windows system using java
本文介绍了使用Java处理Windows系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Java中是否有任何方法可以使Windows系统处于待机模式
is there any method in Java to make windows system in standby mode
推荐答案
我认为您可以通过JNI或JNA对本机Windows的调用 ExitWindowsEx [
I think the only way you could get close to this is by using a JNI or JNA call to the native Windows ExitWindowsEx[^] function, although that does not offer a standby option.
谢谢您的回答,
但是我的问题是我可以访问我们可以在任务管理器"中看到的进程列表.
有没有使用Java阻止列表中特定进程的方法?
oh thanks for your answer,
but my problem is i can access processes list which we can see in "Task manager".
Is there any method to block particular process in list using Java?
这篇关于使用Java处理Windows系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文