How to shut down pc in lan?
Closed
deepa
-
Mar 14, 2009 at 04:05 AM
d.hame35 Posts 9 Registration date Tuesday March 10, 2009 Status Member Last seen June 10, 2009 - Mar 15, 2009 at 04:46 AM
d.hame35 Posts 9 Registration date Tuesday March 10, 2009 Status Member Last seen June 10, 2009 - Mar 15, 2009 at 04:46 AM
Related:
- How to shut down pc in lan?
- Capcut pc - Download - Video editing
- Minecraft free download pc - Download - Sandbox
- Google meet download for pc - Download - Video calls
- Snapchat download pc - Download - Instant messaging
- Lan settings - Guide
1 reply
d.hame35
Posts
9
Registration date
Tuesday March 10, 2009
Status
Member
Last seen
June 10, 2009
1
Mar 15, 2009 at 04:46 AM
Mar 15, 2009 at 04:46 AM
Hello,
Well I have tried that one in Java and it works but I dont know if it does work in LAN:
import javax.swing.JOptionPane;
public class shutdown{
public static void main(String[] args){
try{
Runtime rt = Runtime.getRuntime();
Process pr = rt.exec("cmd /c shutdown -s");
} catch (Exception ew){
JOptionPane.showMessageDialog(null, ew.toString());
ew.printStackTrace();
}
}
}
Well I have tried that one in Java and it works but I dont know if it does work in LAN:
import javax.swing.JOptionPane;
public class shutdown{
public static void main(String[] args){
try{
Runtime rt = Runtime.getRuntime();
Process pr = rt.exec("cmd /c shutdown -s");
} catch (Exception ew){
JOptionPane.showMessageDialog(null, ew.toString());
ew.printStackTrace();
}
}
}