Rebooting a Win9x box (was: Rebooting a windows 2000 box)
Jong B. Lee
jbdoll@kepri.re.kr
Fri Aug 10 17:34:00 GMT 2001
> On Fri, Aug 10, 2001 at 06:28:32PM +0200, hans nohack wrote:
> > If it's a Win9x box how about calling "rundll32.exe
> > shell32.dll,SHExitWindowsEx 6"?
> > (that should end all programs and reboot win9x)
>
> Looks interesting. Does that work from a console window, too?
>
> Corinna
>
Yes.
I've tested other options on Win98
Logoff : rundll32 shell32.dll,SHExitWindowsEx 0
Shutdown : rundll32 shell32.dll,SHExitWindowsEx 1
Restart : rundll32 shell32.dll,SHExitWindowsEx 2
More information about the Cygwin
mailing list