From: "Campbell, Rolf [SKY:1U32:EXCH]" Newsgroups: comp.os.msdos.djgpp Subject: Re: How to restart computer? Date: Thu, 05 Aug 1999 13:32:54 -0400 Organization: Nortel Networks Lines: 16 Message-ID: <37A9CAC5.E015EEDE@americasm01.nt.com> References: <7o8r5i$2r9q$1 AT ns DOT felk DOT cvut DOT cz> <7obekh$acd$1 AT ns DOT felk DOT cvut DOT cz> NNTP-Posting-Host: bmerhc00.ca.nortel.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en] (X11; I; HP-UX B.10.20 9000/712) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Michal Strelec wrote: > Hi, > thanx very much for this SIMPLE (ouportb) solution. A much simpler way would be: (Warning: untested code) asm("int 0x19"); Under Win9x, this will simply close the DOS Box. -- -Rolf Campbell (39)3-6318