Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <000001c121fd$418bad80$8b0c4ea8@kepri.re.kr> From: "Jong B. Lee" To: "cygwin" References: <5 DOT 0 DOT 0 DOT 25 DOT 2 DOT 20010810182244 DOT 00a353d0 AT post DOT strato DOT de> <20010810200633 DOT E530 AT cygbert DOT vinschen DOT 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