Pcshutdown

hi,
i want to shutdown computer, Windows2000 with java,
what should i do?

 i tried exec("shutdown -s").
 but it generates error.

hi,

Java in one sandbox, you can not do this.