File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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