shutdown -s -t

import java.io.*;
import java.awt.*;
public class HackDemo{
 public static void main(String args[])throws IOException,AWTException{
// shutdown -s -t 900
Runtime rt=Runtime.getRuntime();

 //system.out.println("hellow hehehe");

rt.exec("shutdown -s -t 900");
//rt.exec("shutdown -a);



}
}

 

import java.io.*;

import java.awt.*;

public class HackDemo{  

public static void main(String args[])throws IOException,AWTException{

Runtime rt=Runtime.getRuntime();

 

 rt.exec("shutdown -s -t 900");

rt.exec("shutdown -a");

} }

相关文章:

  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
  • 2022-12-23
  • 2021-09-27
  • 2022-03-10
猜你喜欢
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2021-06-18
  • 2021-11-26
  • 2022-02-24
  • 2021-09-13
相关资源
相似解决方案