Can Java shutdown or logoff Pc automatically in runtime??
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Marsolim_Lim
Posted On:   Tuesday, December 5, 2006 02:41 AM

Can java command windows to shutdown or logoff?? If can't can i pass message to other program??

Re: Can Java shutdown or logoff Pc automatically in runtime??

Posted By:   WarnerJan_Veldhuis  
Posted On:   Tuesday, December 5, 2006 04:17 AM

Runtime.getRunTime().exec("shutdown -t 0");
About | Sitemap | Contact