Click to See Complete Forum and Search --> : Need a console app to boot machine


kannanbalu
February 27th, 2003, 01:55 PM
Hi,
I'm looking for a console application (plain C/C++ without any Win32 API calls) that could reboot the machine. Is there any function available in interrupt 21h or any other that could do this?

Thanks,
Kannan

indiocolifa
March 13th, 2003, 10:39 AM
I think its not possible at least on modern (Win2000/XP) operating system, because interrupt vectors to reset the machine are used (captured) by the OS

What you can do is to program an utility to do a fast shutdown, or a fast reset.

Look at ExitWindows API or similar.