A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Elasticsearch in Action
this week in the
Java in General
SHUT DOWN SYSTEM USING JAVA PROGRAM
Joined: Jan 12, 2002
Feb 03, 2002 21:38:00
Is it possible to shutdown the computer using
program,if yes how.Iam using windows NT
Joined: Aug 09, 2001
Feb 06, 2002 12:54:00
In case of windows98 u can use
" c:\windows\rundll32.exe C:\windows\system\shell32.dll,SHExitWindowsEx 1"
in runtime.exec(),but I don't know for NT.Try out with this option.
Happy middling with java.
Joined: Sep 02, 2001
Feb 06, 2002 14:43:00
where i can get this method?
Count the flowers of your garden, NOT the leafs which falls away!
Prepare IBM Exam 340 by joining
It is sorta covered in the
JavaRanch Style Guide
subject: SHUT DOWN SYSTEM USING JAVA PROGRAM
Java .... practically for what?
run Dos commands in java app
invoking c exe from java
Ring a phone number
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015