From: Laurence Withers Newsgroups: comp.os.msdos.djgpp Subject: Re: Reboot the computer. Date: Mon, 7 Sep 1998 18:33:15 +0100 Organization: IP Message-ID: <48cPaFAbjB91Eww6@lwithers.demon.co.uk> References: <35F29338 DOT 337ADBEA AT unb DOT ca> NNTP-Posting-Host: lwithers.demon.co.uk MIME-Version: 1.0 Lines: 22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk --- Original Message --- From: Eli Zaretskii Time: Sun, 6 Sep 199820:19:07 [snip] >You cannot reboot under Windows, so this is probably irrelevant, as the >person who asked this question wanted to reboot the machine (obviously in >plain DOS). There is a function in one of the .DLL files that can do this (ie. the shutdown/restart the computer functions). However, the only way I know to call this function is: shell("rundll32.exe dll_name.dll,FunctionName"); Is there any better way to do this? Bye for now, -- Laurence Withers, mailto:lwithers AT lwithers DOT demon DOT co DOT uk Integrated Peripherals Operating System Project Leader || OPES Project Projects' homepage is at: http://www.lwithers.demon.co.uk/ Leader