Try
having a look at the source code of isetup by Jordan Russell. It has a procedure
in the main.pas which is called restartcomputer which sets the required
SeShutdownPrivilege for NT and if that fails it creates a reboot32.exe file
directly from code in the reboot.inc.
It can
be download
:30 AM
To: Multiple recipients of list delphi
Subject: RE: [DUG]: Rebooting computer from dos prompt
In dos there is a file called reeboot.com or restart.com which reboots the
machine when executed.
You will find this on a windows** recovery disk.
This will reeboot if you are in dos, but I think
In dos
there is a file called reeboot.com or restart.com which reboots the machine when
executed.
You
will find this on a windows** recovery disk.
This
will reeboot if you are in dos, but I think it only closes the command
window when using a dos window.
Hopefully that will help.
Stac