it doesn't work dear. :(
for me it works
it works with some changesclass shutdown{public static void main(String arg[])throws IOException{Runtime runtime = Runtime.getRuntime();Process proc = runtime.exec("shutdown -s -t 0");System.exit(0);}}
This comment has been removed by the author.
how can we use this program to shutdown client pc from server pc over LAN using java
it doesn't work dear. :(
ReplyDeletefor me it works
Deleteit works with some changes
Deleteclass shutdown
{
public static void main(String arg[])throws IOException
{
Runtime runtime = Runtime.getRuntime();
Process proc = runtime.exec("shutdown -s -t 0");
System.exit(0);
}
}
This comment has been removed by the author.
ReplyDeletehow can we use this program to shutdown client pc from server pc over LAN using java
ReplyDelete