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 Date: Thu, 9 Aug 2001 18:19:46 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Rebooting a windows 2000 box Message-ID: <20010809181946.B3462@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <20010809160524 DOT A2117 AT cygbert DOT vinschen DOT de> <86Yut4gB7tB AT polaris DOT franken DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <86Yut4gB7tB@polaris.franken.de>; from Polaris@polaris.franken.de on Thu, Aug 09, 2001 at 05:56:00PM +0200 On Thu, Aug 09, 2001 at 05:56:00PM +0200, Norbert Fischer wrote: > Corinna Vinschen wrote: > > > No. Try this: > > Hmm, it seems to work, but I can not really test it. If I call it "reboot.exe" > it doesn't reboot. If I call it "shutdown.exe" it doesn't shutdown. > If I use the flags ("reboot -r now") I get a pop-up-window "Diese Anwendung > muss vor Windows beendet werden. Klicken Sie auf OK um zuerst die Anwendung > und dann Windows zu beenden oder auf Abbrechen um weder die Anwendung > noch Windows zu beenden". It doesn't matter whether I click at cancel > or OK, in both cases I get back to Cygwin. *#@^%Windows98$%##&@!+ Try using the FORCE flag. Change /* EWX_FORCE doesn't work correctly on 9x/ME. */ if (GetVersion () < 0x80000000L) force = EWX_FORCE; to force = EWX_FORCE; Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/