Hi all,
Can anyone please explain how to shutdown windows 2000 using java program. Well on MSDN I found one method which can shutdown windows.
DWORD WINAPI InitiateShutdown(
LPTSTR lpMachineName,
LPTSTR lpMessage ,
DWORD dwGracePeriod,
DWORD dwShutdownFlags,
DWORD dwReason
);
Is there any dll file available for this. I found one dll file csWindowsShutdown.dll. When I load this dll, then runtime system throws an Error says mscoree.dll not found.
Is there any alternate way of doing this?
Thanks & Regards
Naseem
Can anyone please explain how to shutdown windows 2000 using java program. Well on MSDN I found one method which can shutdown windows.
DWORD WINAPI InitiateShutdown(
LPTSTR lpMachineName,
LPTSTR lpMessage ,
DWORD dwGracePeriod,
DWORD dwShutdownFlags,
DWORD dwReason
);
Is there any dll file available for this. I found one dll file csWindowsShutdown.dll. When I load this dll, then runtime system throws an Error says mscoree.dll not found.
Is there any alternate way of doing this?
Thanks & Regards
Naseem