This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Rebooting a Win9x box (was: Rebooting a windows 2000 box)
> 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