Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <000001c121fd$418bad80$8b0c4ea8@kepri.re.kr>
From: "Jong B. Lee" <jbdoll@kepri.re.kr>
To: "cygwin" <cygwin@cygwin.com>
References: <5.0.0.25.2.20010810182244.00a353d0@post.strato.de> <20010810200633.E530@cygbert.vinschen.de>
Subject: Re: Rebooting a Win9x box (was: Rebooting a windows 2000 box)
Date: Sat, 11 Aug 2001 09:10:02 +0900
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id UAA24326

> 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

