Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Shutdown Win2k using Java code

 
Sherry Jacob
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends...
I want some pointers to shutdown my operating system (Windows 2000) using Java code.

Is it possible or is it my weird thought ?

Suggessions and links are welcome.
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a tool that you can download called shutdown.exe. You can call it from Java.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic