Hi, Is it possible to shutdown the computer using java program,if yes how.Iam using windows NT Thanks
netharam ram
Ranch Hand
Joined: Aug 09, 2001
Posts: 202
posted
0
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. : Netharam. :