Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rebooting the machine from my C program 1

Status
Not open for further replies.

simmohall

Programmer
Jun 11, 2002
7
0
0
AU
Hi again,

I also want to be able to give the prompt to reboot the computer when my C executable is run also.

Is this possible?

Simon

 
Try system("rundll.exe user.exe,exitwindows");
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top