This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Shutdown Win2k using Java code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Shutdown Win2k using Java code" Watch "Shutdown Win2k using Java code" New topic

Shutdown Win2k using Java code

Sherry Jacob
Ranch Hand

Joined: Jun 29, 2005
Posts: 128
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.

<strong><br />Cheers !!<br /> <br />Sherry<br /></strong><br />[SCJP 1.4]
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
There is a tool that you can download called shutdown.exe. You can call it from Java.
I agree. Here's the link:
subject: Shutdown Win2k using Java code
It's not a secret anymore!